Click or drag to resize

IEvent Interface

Represents DOM Event object and provides access to the event object data.

Namespace:  DotNetBrowser.Dom.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.11.0
Syntax
C#
public interface IEvent : IAutoDisposable

The IEvent type exposes the following members.

Properties
  NameDescription
Public propertyBubbles
Indicates whether an event is a bubbling event.
Public propertyCancelable
Indicates whether an event can have its default action prevented.
Public propertyCurrentTarget
Gets the IEventTarget whose event listeners are currently being processed.
Public propertyEventPhase
Gets the phase of event flow.
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyTarget
Gets the IEventTarget to which the event was originally dispatched.
Public propertyType
Gets the type of this DOM event.
Top
Methods
  NameDescription
Public methodPreventDefault
Cancels the event if it is cancelable, without stopping further propagation of the event.
Public methodStopPropagation
Prevents further propagation of the current event.
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also