IEventTargetDispatchEvent Method |
Dispatches (sends) a particular DOM event to the current target.
Namespace:
DotNetBrowser.Dom.Events
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.19.0
Syntax bool DispatchEvent(
IEvent evt
)
Parameters
- evt
- Type: DotNetBrowser.Dom.EventsIEvent
The DOM event to dispatch
Return Value
Type:
Booleanfalse if event is cancelable and at least one of the event handlers
which handled this event called cancelable action;
true otherwise.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The IEventTarget has already been disposed. |
See Also