WebBrowserExtensionsSendMouseWheelEvent(IChromiumWebBrowserBase, Int32, Int32, Int32, Int32, CefEventFlags) Method |
Version 130.1.90
Send a mouse wheel event to the browser.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static void SendMouseWheelEvent(
this IChromiumWebBrowserBase browser,
int x,
int y,
int deltaX,
int deltaY,
CefEventFlags modifiers
)
public:
[ExtensionAttribute]
static void SendMouseWheelEvent(
IChromiumWebBrowserBase^ browser,
int x,
int y,
int deltaX,
int deltaY,
CefEventFlags modifiers
)
Parameters
- browser IChromiumWebBrowserBase
- The ChromiumWebBrowser instance this method extends.
- x Int32
- The x coordinate relative to upper-left corner of view.
- y Int32
- The y coordinate relative to upper-left corner of view.
- deltaX Int32
- The delta x coordinate.
- deltaY Int32
- The delta y coordinate.
- modifiers CefEventFlags
- The modifiers.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IChromiumWebBrowserBase. 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