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

Represents DOM event. More...

Inherited by DotNetBrowser.DOM.Events.DOMCustomEvent.

Public Member Functions

void InitEvent (string eventType, bool bubbles, bool cancelable)
 This method must be called to set the event before it is dispatched, using EventTarget.dispatchEvent(). Once dispatched, it doesn't do anything anymore. More...
 

Protected Attributes

object Guard = new object()
 

Properties

string EventType [get, protected set]
 Gets the type of this DOM event More...
 
bool Bubbles [get, protected set]
 Indicates whether the event should bubble up through the event chain or not. More...
 
bool Cancelable [get, protected set]
 Indicates whether the event can be canceled. More...
 

Detailed Description

Represents DOM event.

Member Function Documentation

void DotNetBrowser.DOM.Events.DOMEvent.InitEvent ( string  eventType,
bool  bubbles,
bool  cancelable 
)

This method must be called to set the event before it is dispatched, using EventTarget.dispatchEvent(). Once dispatched, it doesn't do anything anymore.

Parameters
eventTypethe type of DOM event
bubblesIs a Boolean deciding whether the event should bubble up through the event chain or not. Once set, the read-only property DOMEvent.Bubbles will give its value.
cancelableIs a Boolean defining whether the event can be canceled. Once set, the read-only property DOMEvent.Cancelable will give its value.

Property Documentation

bool DotNetBrowser.DOM.Events.DOMEvent.Bubbles
getprotected set

Indicates whether the event should bubble up through the event chain or not.

bool DotNetBrowser.DOM.Events.DOMEvent.Cancelable
getprotected set

Indicates whether the event can be canceled.

string DotNetBrowser.DOM.Events.DOMEvent.EventType
getprotected set

Gets the type of this DOM event