[Feature] Mouse Hover Extensions don't support Custom Cursor #4654
michael-hawker
started this conversation in
Ideas
Replies: 1 comment
-
Hello, 'michael-hawker! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem this feature would solve
I noticed while looking at the GridSplitter refactor (to use the mouse extensions), GridSplitter allows for creating a custom cursor on hover, but the Mouse extensions currently do not, they ignore the Custom value type.
Describe the solution
We should add an additional 'CustomCursor' property to the extensions so if the
Cursor
property is set to custom, we will read that value and create a custom cursor in our collection. We need to be a bit careful with timing here, so I think we do all this on theOnCustomCursorChanged
property changed callback as reading that property when theCursor
property changes may not be updated yet, we just use theCursor
property as a safety to ensure that it's been explicitly marked as a custom cursor? And if not just do the default behavior? i.e. if just theCustomCursor
property is set, nothing happens (unless we detect it as Unset?)??Considerations
I think the trickiest part of this is going to be testing, we should show a custom cursor in the Sample App, so we'd have to add that resource to the app.
Beta Was this translation helpful? Give feedback.
All reactions