Compartir a través de


CoreWebView2CompositionController.Cursor Property

Definition

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.

Applies to