I have a WPF desktop application with Button . When I run it on a regular PC and click the mouse cursor over the button, it turns blue (the default theme for Windows). When I move the cursor, the button turns gray again. Pretty normal behavior.
But when I run it on a Windows 8 tablet, the following happens: I touch Button , it turns blue. Then I move my finger, but the button remains blue. There is no MouseLeave event. I see a blue button until I clicked somewhere else on the screen.
Is there any solution how to prevent this? I know that I can remove the whole hover effect, but I do not want to do this if there is no other way.
source share