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
namespaceURIstringSpecifies the namespace URI associated with this event, or
nullif the application wish not to use namespaces.typeArgstringSpecifies the event type (see also the description of the
typeattribute in the IEvent interface).canBubbleArgboolSpecifies whether or not the event can bubble.
cancelableArgboolSpecifies whether or not the event's default action can be prevented.
viewArgIAbstractViewSpecifies the Event's IAbstractView
detailArglongSpecifies the IEvent's detail.