IBrowserHostSendMouseClickEvent Method |
Version 51.0.0
Send a mouse click event to the browser.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax void SendMouseClickEvent(
int x,
int y,
MouseButtonType mouseButtonType,
bool mouseUp,
int clickCount,
CefEventFlags modifiers
)
void SendMouseClickEvent(
int x,
int y,
MouseButtonType mouseButtonType,
bool mouseUp,
int clickCount,
CefEventFlags modifiers
)
Parameters
- x
- Type: SystemInt32
x coordinate - relative to upper-left corner of view - y
- Type: SystemInt32
y coordinate - relative to upper-left corner of view - mouseButtonType
- Type: CefSharpMouseButtonType
Mouse ButtonType - mouseUp
- Type: SystemBoolean
mouse up - clickCount
- Type: SystemInt32
click count - modifiers
- Type: CefSharpCefEventFlags
click modifiers e.g. Ctrl
See Also