WebBrowserExtensionsSendMouseWheelEvent Method (IWebBrowser, Int32, Int32, Int32, Int32, CefEventFlags) |
Version 86.0.240
Send a mouse wheel event to the browser.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax public static void SendMouseWheelEvent(
this IWebBrowser browser,
int x,
int y,
int deltaX,
int deltaY,
CefEventFlags modifiers
)
public:
[ExtensionAttribute]
static void SendMouseWheelEvent(
IWebBrowser^ browser,
int x,
int y,
int deltaX,
int deltaY,
CefEventFlags modifiers
)
Parameters
- browser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser instance this method extends. - x
- Type: SystemInt32
The x coordinate relative to upper-left corner of view. - y
- Type: SystemInt32
The y coordinate relative to upper-left corner of view. - deltaX
- Type: SystemInt32
The delta x coordinate. - deltaY
- Type: SystemInt32
The delta y coordinate. - modifiers
- Type: CefSharpCefEventFlags
The modifiers.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IWebBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also