Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 241
Cipher Avatar asked Mar 25 '26 10:03

Cipher


1 Answers

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.

like image 87
Samuel Slade Avatar answered Mar 28 '26 00:03

Samuel Slade



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!