For a view constructed using WPF, I want to change the mouse cursor to a hourglass when the application is busy and nonresponsive.
One solution is to add
this.Cursor = Cursors.Wait;
to all the places that may cause the UI to become non-responsive. But obviously this is not the best solution. I am wondering what is the best way to achive this?
Is it possible to achive this by using Styles or Resources?
Thanks,