Class UIEvent

Class UIEvent

Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.1.0)

UIEvent 接口提供与用户界面事件相关的特定上下文信息。

[DOMName("UIEvent")]
[ComVisible(true)]
[DOMObject]
public class UIEvent : Event, INotifyPropertyChanged

继承

objectDOMObjectEventUIEvent

派生

FocusEvent, InputEvent, KeyboardEvent, MouseEvent

实现

INotifyPropertyChanged

继承成员

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()

构造函数

UIEvent(string)

初始化 Aspose.Html.Dom.Events.UIEvent 类的新实例。

[DOMConstructor]
public UIEvent(string type)

参数

type string

事件类型。

UIEvent(string, IDictionary<string, object="">)

初始化 Aspose.Html.Dom.Events.UIEvent 类的新实例。

[DOMConstructor]
public UIEvent(string type, IDictionary<string, object=""> eventInitDict)

参数

type string

事件类型。

eventInitDict IDictionary<string, object&gt;

事件初始化字典。

属性

Detail

根据事件类型指定有关事件的一些详细信息。

[DOMName("detail")]
public long Detail { get; }

属性值

long

View

视图属性标识生成事件的窗口。 该属性的未初始化值必须为 null。

[DOMName("view")]
public IWindow View { get; }

属性值

IWindow

 中文