private void RaiseCommandsChanged() { GetHintCommand.RaiseCanExecuteChanged(); PassCommand.RaiseCanExecuteChanged(); PressedCommand.RaiseCanExecuteChanged(); ResignCommand.RaiseCanExecuteChanged(); UndoCommand.RaiseCanExecuteChanged(); }
protected void RefreshCommands() { RaisePropertyChanged(nameof(ResumingGameIsPossible)); ResignCommand.RaiseCanExecuteChanged(); LifeAndDeathDoneCommand.RaiseCanExecuteChanged(); ResumeGameCommand.RaiseCanExecuteChanged(); RequestUndoDeathMarksCommand.RaiseCanExecuteChanged(); UpdateCanPassAndUndo(); }