Cambiar el cursor del mouse en 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?

preguntado el 02 de febrero de 12 a las 10:02

Check out the similar post below… -

1 Respuestas

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. Aquí is one example project that may help you with your approach.

Respondido 02 Feb 12, 15:02

@Samueal Slade: Thanks for the link. I understand that we can use a user control to get a custom cursor according to our requirement. Can we get this as a default behaviour through App.xaml.cs? - Cifra

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.