VladislavAntonyuk / MauiSamples

.NET MAUI Samples
https://vladislavantonyuk.azurewebsites.net/articles?categoryName=.NET%20MAUI/Xamarin
MIT License
748 stars 192 forks source link

Windows - Hide cursor #370

Open hakanhamzaoglu opened 1 year ago

hakanhamzaoglu commented 1 year ago

MauiCursor library is working well done. But more developer need hiding cursor for app which is running with a touchscreen device. Can i hide cursor or show custom empty cursor?

Note: i try this topic's solution https://social.msdn.microsoft.com/Forums/en-US/14001796-bcd5-4b9d-9d7e-13bc6ba59d2d/uwp-how-to-set-a-pointer-cursor-as-a-circle-instead-of-a-window-default-cursor?forum=wpdevelop. But it didn't run correctly.

VladislavAntonyuk commented 1 year ago

I suppose OS should automatically change cursor from arrow to circle on touch devices. However you can try detect if device has a touch screen and change the cursor.