Method CreateEvent
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
CreateEvent(EventType, EventParameters)
Creates a DOM event instance of the specified type.
IEvent CreateEvent(EventType eventType, EventParameters parameters)
Parameters
eventType
EventTypethe DOM event type.
parameters
EventParametersthe parameters of the DOM event
Returns
- IEvent
DOM Event object
Exceptions
- ArgumentNullException
when eventType or parameters values are null.