![]() The set has 15 mouse cursors with statuses like Busy, Text Select, Vertical Resize, Horizontal Resize, etc. Normally when you want to set the wait cursor in your application you would use a try/finally block to ensure that the cursor eventually gets set back to the original value: Mouse.OverrideCursor. It can be very pleasing to the human eye. You might try inserting a await Task.Delay(1000) to force a yield? Or do the work on another thread using Task.Run. Neon Rainbow is a set of cool cursors that can change colors. I would recommend you go back to small steps, just set the cursor with no other side affects, convince yourself that it works and then build up the functionality you want and find out where the conflict occurs.Īnother thought is that you might find that your action is fully synchronous and never yields the thread to change the pointer. By removing the IsEnabled = false it started to work. For example, when the user adds an item to a list, instead of. Visual behavior that indicates transitions within an app to the user. Fast, fluid transitions between UI states that inform but do not distract the user. The issue I found was as part of the action setting the cursor, I was also IsEnabled = false the containing UserControl as a quick way of showing the user that the TextBoxes were not available. Animations from the Windows Runtime animation library provide these benefits: Motions that align to the Guidelines for animations. Hi had the same experience of using ProtectedCursor and finding that the mouse pointer didn't change, really wound me up for a while but I needed to give the user the visual feedback of being busy so perservered.įirstly I can confirm that ProtectedCursor does work, so stick with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |