Table of Contents

Class Event

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Dom.dll

Summary description for Event.

public class Event : IEvent
Inheritance
Event
Implements
Derived
Inherited Members

Constructors

Event()
Event(string, bool, bool)
Event(string, string, bool, bool)

Fields

_eventType

Properties

Bubbles

(DOM Level 2) Used to indicate whether or not an event is a bubbling event.

Cancelable

(DOM Level 2) Used to indicate whether or not an event can have its default action prevented.

CurrentTarget

(DOM Level 2) Used to indicate the IEventTarget whose EventListeners are currently being processed.

EventPhase

(DOM Level 2) Used to indicate which phase of event flow is currently being accomplished.

IsCustom

(DOM Level 3 Experimental) This method will always return false, unless the event implements the ICustomEvent interface.

IsDefaultPrevented

(DOM Level 3 Experimental) This method will return true if the method PreventDefault has been called for this event, false otherwise.

NamespaceUri

(DOM Level 3 Experimental) The namespace URI associated with this event at creation time, or null if it is unspecified.

Target

(DOM Level 2) Used to indicate the event target.

TimeStamp

(DOM Level 2) Used to specify the time at which the event was created.

Type

(DOM Level 2) The name must be an NCName as defined in [XML Namespaces] and is case-sensitive.

Methods

InitEvent(string, bool, bool)

(DOM Level 2) The InitEvent method is used to initialize the value of an IEvent created through the IDocumentEvent.CreateEvent method.

InitEventNs(string, string, bool, bool)

(DOM Level 3 Experimental) The InitEventNs method is used to initialize the value of an IEvent created through the IDocumentEvent interface.

PreventDefault()

(DOM Level 2) Signify that the event is to be canceled.

StopImmediatePropagation()

(DOM Level 3 Experimental) Immediately prevent event listeners of the same group to be triggered.

StopPropagation()

(DOM Level 2) Prevent event listeners of the same group to be triggered.