DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.DOM.Events.DOMEventArgs Class Reference

Provides access to the DOM event data. More...

Inherits EventArgs.

Public Member Functions

 DOMEventArgs ()
 Initializes a new instance of the DOMEventArgs class. More...
 
void PreventDefault ()
 Cancels the event if it is cancelable, without stopping further propagation of the event. More...
 
void StopPropagation ()
 Prevents further propagation of the current event. More...
 

Properties

DOMEventType Type [get]
 Returns the type of this DOM event. More...
 
string EventType [get]
 Returns a string containing the type of this DOM event. More...
 
DOMEventTarget Target [get]
 Returns the DOMEventTarget to which the event was originally dispatched. More...
 
DOMEventTarget CurrentTarget [get]
 Returns the DOMEventTarget whose DOMEventHandler are currently being processed. More...
 
DOMEventPhase EventPhase [get]
 Used to indicate which phase of event flow is currently being evaluated. More...
 
bool Bubbles [get]
 Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false. More...
 
bool Cancelable [get]
 Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false. More...
 

Detailed Description

Provides access to the DOM event data.

Constructor & Destructor Documentation

DotNetBrowser.DOM.Events.DOMEventArgs.DOMEventArgs ( )

Initializes a new instance of the DOMEventArgs class.

Member Function Documentation

void DotNetBrowser.DOM.Events.DOMEventArgs.PreventDefault ( )

Cancels the event if it is cancelable, without stopping further propagation of the event.

void DotNetBrowser.DOM.Events.DOMEventArgs.StopPropagation ( )

Prevents further propagation of the current event.

Property Documentation

bool DotNetBrowser.DOM.Events.DOMEventArgs.Bubbles
get

Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.

bool DotNetBrowser.DOM.Events.DOMEventArgs.Cancelable
get

Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.

DOMEventTarget DotNetBrowser.DOM.Events.DOMEventArgs.CurrentTarget
get

Returns the DOMEventTarget whose DOMEventHandler are currently being processed.

DOMEventPhase DotNetBrowser.DOM.Events.DOMEventArgs.EventPhase
get

Used to indicate which phase of event flow is currently being evaluated.

string DotNetBrowser.DOM.Events.DOMEventArgs.EventType
get

Returns a string containing the type of this DOM event.

DOMEventTarget DotNetBrowser.DOM.Events.DOMEventArgs.Target
get

Returns the DOMEventTarget to which the event was originally dispatched.

DOMEventType DotNetBrowser.DOM.Events.DOMEventArgs.Type
get

Returns the type of this DOM event.