Hey,
Ã?Â
I'm considering using both the MVVM and State patterns for screens in my WPF application.
Originally I was using only MVVM with an implementation of ICommand that takes in a delegate to run for CanExecute and a delegate to run for Execute (similar� to � the DelegateCommand used in Prismâ��s RI).� However, my views have many states � (ie ReadOnly, Edit, Saving, etc) and my CanExecute and Execute methods ended up with ifs checking the value of a state enum that I had set up.
In an attempt to simplify my CanExecute and Execute methods I set up a St ...
Go to the complete details ...