Replies: 2 comments 1 reply
-
Does directly using UIElement.ProtectedCursor not work for you? This is what the reflection's target is, so you should just use it directly. |
Beta Was this translation helpful? Give feedback.
-
I agree, this is quite important for me. In addition, I have a requirement to hide the cursor. I would be happy if there was an easy way to set the cursor on the window as in UWP. Not sure exactly how this would interact with the cursor property on the UIElement - may need to be able to specify which takes precedence. It might also be useful if the cursor property could be set via a style, like in HTML/CSS. |
Beta Was this translation helpful? Give feedback.
-
As mentioned here: #1816 . I can not understand why we can not change an element's cursor easily and even there is no way to change a sealed element's cursor (excepts using reflection, but I really dont want to use it due to performance and aot). And according to this issue's answer, now that we have now a protected cursor property why the library can not make it public? It is a basic function that cannot be further basic. I'm really confused.
8 votes ·
Beta Was this translation helpful? Give feedback.
All reactions