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 the OnCustomCursorChanged property changed callback as reading that property when the Cursor property changes may not be updated yet, we just use the Cursor 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 the CustomCursor 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.
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
Cursorproperty 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 theOnCustomCursorChangedproperty changed callback as reading that property when theCursorproperty changes may not be updated yet, we just use theCursorproperty 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 theCustomCursorproperty 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.