Click or drag to resize

IDocumentCreateMouseEvent Method

Creates and returns a new IMouseEvent object with the given
eventType
and
parameters
.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.4
Syntax
C#
IMouseEvent CreateMouseEvent(
	EventType eventType,
	MouseEventParameters parameters
)

Parameters

eventType
Type: DotNetBrowser.Dom.EventsEventType
an EventTypeobject representing a type of a valid DOM event supported by engine. Cannot be null.
parameters
Type: DotNetBrowser.Dom.EventsMouseEventParameters
a MouseEventParameters object representing mouse event properties (e.g. bubbles, cancellable). Cannot be null.

Return Value

Type: IMouseEvent
the new IMouseEvent object.
Exceptions
ExceptionCondition
ArgumentExceptionwhen eventType or parameters values are null.
See Also