Reputation: 23
If I have a .cur file which I want to use as a custom cursor in my UWP application, how would I do that?
Also, do cursors need to be black and white or can they have colour?
Upvotes: 1
Views: 811
Reputation: 13850
This can be done by creating a CoreCursor of type CoreCursorType.Custom and specifying the resource ID of your custom cursor file. Documentation is here:
https://learn.microsoft.com/en-us/uwp/api/Windows.UI.Core.CoreCursor
Upvotes: 1