CoreWebView2CompositionController.Cursor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current cursor that WebView thinks it should be.
public IntPtr Cursor { get; }
member this.Cursor : nativeint
Public ReadOnly Property Cursor As IntPtr
Property Value
IntPtr
nativeint
Remarks
The cursor should be set in WM_SETCURSOR through Mouse.SetCursor or set on the corresponding parent/ancestor HWND of the WebView through ::SetClassLongPtr. The HCURSOR can be freed so CopyCursor/DestroyCursor is recommended to keep your own copy if you are doing more than immediately setting the cursor.