Gjallarhorn.Bindable
Gjallarhorn.Bindable copied to clipboard
ICommand.CanExecute : | <'a -> bool> ISignal | 'a -> bool
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
.
@kleidemos if you are still here can you create a PR?