Class FocusEvent
Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.1.0)
L’interface FocusEvent fournit des informations contextuelles spécifiques associées aux événements de Focus.
[DOMName("FocusEvent")]
[DOMObject]
[ComVisible(true)]
public class FocusEvent : UIEvent, INotifyPropertyChanged
Héritage
object ← DOMObject ← Event ← UIEvent ← FocusEvent
Implémente
Membres hérités
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()
Constructeurs
FocusEvent(string)
Initialise une nouvelle instance de la classe Aspose.Html.Dom.Events.FocusEvent.
[DOMConstructor]
public FocusEvent(string type)
Paramètres
type
string
Le type d’événement.
FocusEvent(string, IDictionary<string, object="">)
Initialise une nouvelle instance de la classe Aspose.Html.Dom.Events.FocusEvent.
[DOMConstructor]
public FocusEvent(string type, IDictionary<string, object=""> eventInitDict)
Paramètres
type
string
Le type d’événement.
eventInitDict
IDictionary<string, object>
Le dictionnaire d’initialisation de l’événement.
Propriétés
RelatedTarget
Utilisé pour identifier un EventTarget secondaire lié à un événement de Focus, selon le type d’événement.
[DOMName("relatedTarget")]
public EventTarget RelatedTarget { get; }