How to automatically call the CanExecute method when properties change with MVVM Light in Windows and Phone apps
0 comments
/
posted by
Silverlight Show
on
Jun 05, 2014 (4 weeks ago)
Read original post at Marco Minerva's Blog When using commands, usually in an MVVM scenario, we can define a method, CanExecute, that determines whether a command can execute in its current state. In a such situation, if the CanExecute handler returns false, the associated command can’t be invoked: if the command is bound, for example, to a Button, the latter will be automatically disabled. When w ...