Table of Contents

Method InitUiEventNs

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

InitUiEventNs(string, string, bool, bool, IAbstractView, long)

The InitUiEventNs method is used to initialize the value of a IUiEvent created using the IDocumentEvent.CreateEvent method. This method may only be called before the IUiEvent has been dispatched via the IEventTarget.DispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

void InitUiEventNs(string namespaceURI, string typeArg, bool canBubbleArg, bool cancelableArg, IAbstractView viewArg, long detailArg)

Parameters

namespaceURI string

Specifies the namespace URI associated with this event, or null if the application wish not to use namespaces.

typeArg string

Specifies the event type (see also the description of the type attribute in the IEvent interface).

canBubbleArg bool

Specifies whether or not the event can bubble.

cancelableArg bool

Specifies whether or not the event's default action can be prevented.

viewArg IAbstractView

Specifies the Event's IAbstractView

detailArg long

Specifies the IEvent's detail.