On several of my usercontrols, I change the cursor by using
this.Cursor = Cursors.Wait;
when I click on something.
Now I want to do the same thing on a WPF page on a button click. When I hover over my button, the cursor changes to a hand, but when I click it, it doesn’t change to the wait cursor. I wonder if this has something to do with the fact that it’s a button, or because this is a page and not a usercontrol? This seems like weird behavior.
Do you need the cursor to be a ‘wait’ cursor only when it’s over that particular page/usercontrol? If not, I’d suggest using Mouse.OverrideCursor:
This overrides the cursor for your application rather than just for a part of its UI, so the problem you’re describing goes away.