Table of Contents

Method DispatchEvent

Namespace
DotNetBrowser.Dom.Events
Assembly
DotNetBrowser.dll

DispatchEvent(IEvent)

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

bool DispatchEvent(IEvent evt)

Parameters

evt IEvent

The DOM event to dispatch

Returns

bool

false if event is cancelable and at least one of the event handlers which handled this event called cancelable action; true otherwise.

Exceptions

ObjectDisposedException

The IEventTarget has already been disposed.