Click or drag to resize

DisplayHandler.OnCursorChange Method

Version 103.0.120
Called when the browser's cursor has changed.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 103.0.120.0 (103.0.120.0)
Syntax
protected virtual bool OnCursorChange(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IntPtr cursor,
	CursorType type,
	CursorInfo customCursorInfo
)

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
the ChromiumWebBrowser control
browser
Type: CefSharp.IBrowser
the browser object
cursor
Type: System.IntPtr
If type is Custom then customCursorInfo will be populated with the custom cursor information
type
Type: CefSharp.Enums.CursorType
cursor type
customCursorInfo
Type: CefSharp.Structs.CursorInfo
custom cursor Information

Return Value

Type: Boolean
Return true if the cursor change was handled or false for default handling.
See Also