unoplatform / Uno.WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/uwpcommunitytoolkit/
Other
61 stars 11 forks source link

Add `CursorProperty` #203

Closed Youssef1313 closed 10 months ago

Youssef1313 commented 1 year ago

Currently it's not included:

https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/60d996417f2ff01c329a3bbc75ba52ce3a1db43f/CommunityToolkit.WinUI.UI/Extensions/FrameworkElement/FrameworkElementExtensions.Mouse.cs#L11

Note that the implementation is using CoreWindow.PointerCursor, which I think only supported on Wasm currently.

So I think we can add CursorProperty back and make it effectively a no-op for platforms other than Wasm.