Class FocusEvent

Class FocusEvent

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

The FocusEvent interface provides specific contextual information associated with Focus events.

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

Inheritance

objectDOMObjectEventUIEventFocusEvent

Implements

INotifyPropertyChanged

Inherited Members

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

Constructors

FocusEvent(string)

Initializes a new instance of the Aspose.Html.Dom.Events.FocusEvent class.

[DOMConstructor]
public FocusEvent(string type)

Parameters

type string

The event type.

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

Initializes a new instance of the Aspose.Html.Dom.Events.FocusEvent class.

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

Parameters

type string

The event type.

eventInitDict IDictionary<string, object&gt;

The event initialize dictionary.

Properties

RelatedTarget

Used to identify a secondary EventTarget related to a Focus event, depending on the type of event.

[DOMName("relatedTarget")]
public EventTarget RelatedTarget { get; }

Property Value

EventTarget </string,></string,>