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
stringSpecifies the namespace URI associated with this event, or
null
if the application wish not to use namespaces.typeArg
stringSpecifies the event type (see also the description of the
type
attribute in the IEvent interface).canBubbleArg
boolSpecifies whether or not the event can bubble.
cancelableArg
boolSpecifies whether or not the event's default action can be prevented.
viewArg
IAbstractViewSpecifies the Event's IAbstractView
detailArg
longSpecifies the IEvent's detail.