I want to question the usefulness of the CanExecute functionality in WPF (defined in the ICommand interface). As I think that you can achieve the same functionality thing without this feature I ask myself why it is there in the first place.My question is: If I build a new UI framework like WPF from scratch and I have to decide whether to include something similar to CanExecute, what are the arguments against or in favor of such a feature?At the moment my opinion that if you favor simplicity this feature should be excluded as similar functionality can easily be achieve with an additional view-model property representing whether the command can currently be executed. Maybe my assumption is wrong and CanExecute really is an elegant feature, in this case I would ask you to provide convincing arguments.
Usefulness of the Command CanExecute as it exists in WPF
mvvm