Click or drag to resize

IEventTargetDispatchEvent Method

Dispatches (sends) a particular DOM event to the current target.

Namespace:  DotNetBrowser.Dom.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
bool DispatchEvent(
	IEvent evt
)

Parameters

evt
Type: DotNetBrowser.Dom.EventsIEvent
The DOM event to dispatch

Return Value

Type: Boolean
false if event is cancelable and at least one of the event handlers which handled this event called cancelable action; true otherwise.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IEventTarget has already been disposed.
See Also