private void UpdateButtonState() { NewCollection.RaiseCanExecuteChanged(); OpenCollection.RaiseCanExecuteChanged(); SaveCollection.RaiseCanExecuteChanged(); EditCollection.RaiseCanExecuteChanged(); DeleteCollection.RaiseCanExecuteChanged(); CommitCollection.RaiseCanExecuteChanged(); ReviewCollection.RaiseCanExecuteChanged(); }
private void UpdateButtonState() { NewCollection.RaiseCanExecuteChanged(); OpenCollection.RaiseCanExecuteChanged(); SaveCollection.RaiseCanExecuteChanged(); EditCollection.RaiseCanExecuteChanged(); DeleteCollection.RaiseCanExecuteChanged(); CommitCollection.RaiseCanExecuteChanged(); ReviewCollection.RaiseCanExecuteChanged(); ViewRecordCommand.RaiseCanExecuteChanged(); //IsSaveVisible = FormArgs == null ? false : FormArgs.HasNoRecords == false && FormArgs.ViewMode != FormMode.DELETEMODE; OnPropertyChanged("IsCommitVisible"); }