You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to define commands that can only be executed when parameter is valid.
At the moment I need to create a new command for each case / parameter source.
In WPF changing CommandParameter does not call Command.CanExecute when ICommand does not use CommandManager.RequerySuggested for ICommand.CanExecuteChanged.
This means that we need a separate implementation for ICommand.
I want to be able to define commands that can only be executed when parameter is valid.
At the moment I need to create a new command for each case / parameter source.
In WPF changing
CommandParameter
does not callCommand.CanExecute
whenICommand
does not useCommandManager.RequerySuggested
forICommand.CanExecuteChanged
.This means that we need a separate implementation for
ICommand
.Possible implementation
The text was updated successfully, but these errors were encountered: