void UploadDecisionViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { switch (e.PropertyName) { case "IsValidAndInformationalAndWarning": if (IsValidAndInformationalAndWarning) { DecisionLevel = 2; } break; case "IsValidAndInformational": if (IsValidAndInformational) { DecisionLevel = 1; } break; case "IsValidOnly": if (IsValidOnly) { DecisionLevel = 0; } break; case "DecisionLevel": LoadCommand.UpdateCanExecuteCommand(); break; case "Last2Files": LoadCommand.UpdateCanExecuteCommand(); CancelCommand.UpdateCanExecuteCommand(); break; } }