The Button command in ItemTemplate synchronizes the IsEnabled effect #721
-
I have a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you want a single ComboBox item to be disabled during command execution then the UI framework you are using is responsible for how |
Beta Was this translation helpful? Give feedback.
-
Are all buttons binding to the same command? If so, the reason is probably that async commands have concurrency control enabled by default — ie. they're disabled while an operation is running. You can change this by using |
Beta Was this translation helpful? Give feedback.
Are all buttons binding to the same command? If so, the reason is probably that async commands have concurrency control enabled by default — ie. they're disabled while an operation is running. You can change this by using
[RelayCommand(AllowConcurrentExecutions = true)]
(or passing the corresponding option, if you're constructing the command manually). Of course, then it's up to you to disable the buttons when needed, with whatever logic you want (eg. per button, with some criteria you want) 🙂