Method InitTextEventNs
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.dll
InitTextEventNs(string, string, bool, bool, IAbstractView, string)
The InitTextEventNs method is used to initialize the value of a ITextEvent created using the IDocumentEvent.CreateEvent method. This method may only be called before the ITextEvent 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. This method has no effect if called after the event has been dispatched.
public void InitTextEventNs(string namespaceUri, string type, bool bubbles, bool cancelable, IAbstractView view, string data)
Parameters
namespaceUri
stringSpecifies the namespace URI associated with this event, or
null
if the applications wish to have no namespace.type
stringSpecifies the event type.
bubbles
boolcancelable
boolview
IAbstractViewdata
string