Method InitMouseEventNs
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.dll
InitMouseEventNs(string, string, bool, bool, IAbstractView, long, long, long, long, long, bool, bool, bool, bool, ushort, IEventTarget, bool)
The InitMouseEventNs method is used to initialize the value of a IMouseEvent created using the IDocumentEvent.CreateEvent interface.
public void InitMouseEventNs(string namespaceUri, string eventType, bool bubbles, bool cancelable, IAbstractView view, long detail, long screenX, long screenY, long clientX, long clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, ushort button, IEventTarget relatedTarget, bool altGraphKey)
Parameters
namespaceUri
stringSpecifies the namespace URI associated with this event, or null if the application wish to have no namespace.
eventType
stringbubbles
boolcancelable
boolview
IAbstractViewdetail
longscreenX
longscreenY
longclientX
longclientY
longctrlKey
boolaltKey
boolshiftKey
boolmetaKey
boolbutton
ushortrelatedTarget
IEventTargetaltGraphKey
bool
Remarks
This method may only be called before the IMouseEvent 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.