Search code examples
c#wpfcursormouse

I want to change my cursor in wpf to an custom .cur file?


I want to change my mouse pointer to an custom cursor in my application.

So when my application starts, i want the custom cursor, and when it stops i want it gone.

How to do this in c# behind the code in wpf?


Solution

  • You can not have the cursor changed for the whole operating system environment, only the WPF window.

    Follow this post on how to set a custom cursor