protected RaiseCanExecuteChangedForAllCommands ( ) : void | ||
return | void |
protected void RaiseCanExecuteChangedForAllCommands()
{
foreach (var command in Commands)
{
var commandAsICatelCommand = command as ICatelCommand;
if (commandAsICatelCommand != null)
{
commandAsICatelCommand.RaiseCanExecuteChanged();
}
}
}