Update: The focus became MVVM instead of the actual question so I\'m updating it.
I\'m having a problem with CanExecute
for Deleg
There is a bug in the DelegateCommand provided by Prism which doesn't raise the CanExecute event. I beat my head against the wall for a day until I dove into the DelegateCommand
class provided by the Prism framework. I don't have the code with me, but I can post my resolution in a bit.
The alternative is to use one of the other RelayCommand frameworks out there.
Edit
Rather than reposting the code, there are other SO questions that provide resolutions:
And Kent B. has a good article: MVVM Infrastructure: DelegateCommand