-api-id | -api-type |
---|---|
T:Microsoft.UI.Input.InputDesktopResourceCursor |
winrt class |
Represents a visual pointer object that uses an application resource instead of a predefined system cursor.
Derived from InputCursor.
Uses a resource ID. If you need to use a string resource name instead, see xref:Microsoft.UI.Input.InputDesktopNamedResourceCursor (Visual Studio assigns a unique integer ID to new resources).
You can add a .res resource file that contains a custom cursor to your project and include it in your assembly with the /win32res compiler option. The Id is the Cursor Resource ID specified in the .res file.