Class FocusEvent
Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.1.0)
FocusEvent 接口提供与焦点事件相关的特定上下文信息。
[DOMName("FocusEvent")]
[DOMObject]
[ComVisible(true)]
public class FocusEvent : UIEvent, INotifyPropertyChanged
继承
object ← DOMObject ← Event ← UIEvent ← FocusEvent
实现
继承成员
UIEvent.View, UIEvent.Detail, Event.NonePhase, Event.CapturingPhase, Event.AtTargetPhase, Event.BubblingPhase, Event.InitEvent(string, bool, bool), Event.PreventDefault(), Event.StopPropagation(), Event.StopImmediatePropagation(), Event.Bubbles, Event.Cancelable, Event.CurrentTarget, Event.EventPhase, Event.Target, Event.TimeStamp, Event.Type, Event.DefaultPrevented, Event.IsTrusted, DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
构造函数
FocusEvent(string)
初始化 Aspose.Html.Dom.Events.FocusEvent 类的新实例。
[DOMConstructor]
public FocusEvent(string type)
参数
type
string
事件类型。
FocusEvent(string, IDictionary<string, object="">)
初始化 Aspose.Html.Dom.Events.FocusEvent 类的新实例。
[DOMConstructor]
public FocusEvent(string type, IDictionary<string, object=""> eventInitDict)
参数
type
string
事件类型。
eventInitDict
IDictionary<string, object>
事件初始化字典。
属性
RelatedTarget
用于识别与焦点事件相关的辅助 EventTarget,具体取决于事件类型。
[DOMName("relatedTarget")]
public EventTarget RelatedTarget { get; }