Click or drag to resize

WebBrowserExtensions.SendMouseWheelEvent Method (IBrowserHost, Int32, Int32, Int32, Int32, CefEventFlags)

Version 96.0.142
Send a mouse wheel event to the browser.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public static void SendMouseWheelEvent(
	this IBrowserHost host,
	int x,
	int y,
	int deltaX,
	int deltaY,
	CefEventFlags modifiers
)

Parameters

host
Type: CefSharp.IBrowserHost
browserHost.
x
Type: System.Int32
The x coordinate relative to upper-left corner of view.
y
Type: System.Int32
The y coordinate relative to upper-left corner of view.
deltaX
Type: System.Int32
The delta x coordinate.
deltaY
Type: System.Int32
The delta y coordinate.
modifiers
Type: CefSharp.CefEventFlags
The modifiers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBrowserHost. 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