Can Shell MenuItems be disabled? #9630
Replies: 2 comments 1 reply
-
seems this function to be impossible? |
Beta Was this translation helpful? Give feedback.
1 reply
-
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't figure out how to make shell menuitems render in a disabled state. If I have a menu item that binds to a command, I'd like it if that command's canexecute could disable the menuitem if it returned false. Is this an intended use case for these menuitems ?
Update:
If you have the following:
`
This will throw System.InvalidOperationException: 'The BindableProperty "IsEnabled" is readonly.'
Beta Was this translation helpful? Give feedback.
All reactions