Table of Contents

Method InitUiEvent

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

InitUiEvent(string, bool, bool, IAbstractView, long)

The InitUiEvent method is used to initialize the value of a IUiEvent created using the IDocumentEvent.CreateEvent method.

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

Parameters

typeArg string

Specifies the event type.

canBubbleArg bool

Specifies whether or not the event can bubble. This parameter overrides the intrinsic bubbling behavior of the event.

cancelableArg bool

Specifies whether or not the event's default action can be prevented. This parameter overrides the intrinsic cancelable behavior of the event.

viewArg IAbstractView

Specifies the IEvent's IAbstractView.

detailArg long

Specifies the IEvent's detail.

Remarks

This method may only be called before the InitUiEvent 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.