Cipher
Cipher

Reputation: 6082

Change mouse cursor in Silverlight

I have to change the default cursor in Silverlight to custom .cur file that I have with me int the resources. I will have to do the same in App.xaml.cs.

Any pointers to this please?

Upvotes: 3

Views: 2536

Answers (1)

Samuel Slade
Samuel Slade

Reputation: 8613

Silverlight does not support custom mouse cursors, inherently. As such, you will have to look into creating your own and loading the .cur file as the source of the visual part of the cursor. A Google search or two should give you some resources and forums on similar approaches to the issue. Here is one example project that may help you with your approach.

Upvotes: 4

Related Questions