I use ICommand
in the ViewModel to be able to add/remove items from collections etc.
I also have validation that belongs in the model classes to validate textboxes etc.
Is there a way I can use the two (ICommand
in the ViewModel + the Validation in the model) to disable the button if a textbox has failed Validation? I ask because the ICommand
exposes the CanExecute
event so I guess it would be wise to use that!