-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG?] unable to set cursor type to Hand in a AppBarButton (WINUI3) #10227
Comments
Cursor property is a protected property.
https://github.com/ghost1372/DevWinUI/blob/main/dev/DevWinUI/Helpers/GeneralHelper.cs |
Thanks for the helper... it works perfectly for Buttons and AppBarButtons however I also want to use it in a
thank you |
I didn't test on MenuFlyoutItem. And I don't know about it. |
Thanks for chiming in @ghost1372. There's also this discussion thread in WindowsAppSDK - perhaps this can work as well: microsoft/WindowsAppSDK#1816 |
Thanks @karkarl but MenuFlyoutItem does not work even tried to subclass it. |
Hi everyone! 👋
I've been working on a project where I need to customize the cursor type for an AppBarButton and MenuFlyoutItem to a Hand cursor. I've looked through the official documentation but haven't been able to find the specific information on how to achieve this.
To give you a bit more context, I'm developing a user interface where it's important for the AppBarButton to clearly indicate it's clickable, hence the need for a Hand cursor. I've tried a few different approaches, but none seem to work as expected.
for instance the code below makes the icon in a AppBarButton.Flyout to have a inconsistent behavior.
Does anyone have experience with this or know where I can find the relevant documentation? Any guidance or examples would be greatly appreciated! 😊
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: