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