Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.05 KB

inputdesktopresourcecursor.md

File metadata and controls

28 lines (17 loc) · 1.05 KB
-api-id -api-type
T:Microsoft.UI.Input.InputDesktopResourceCursor
winrt class

Microsoft.UI.Input.InputDesktopResourceCursor

-description

Represents a visual pointer object that uses an application resource instead of a predefined system cursor.

-remarks

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.

-see-also

InputSystemCursorShape, InputSystemCursor

-examples