void SelectReportGroupViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { switch (e.PropertyName) { case "SelectedReportGroup": case "ReportName": OKCommand.UpdateCanExecuteCommand(); break; } }
/// <summary> /// Handler for the PropertyChanged event /// </summary> /// <param name="sender">The source of the event</param> /// <param name="e">The event arguments associated with the event</param> void SelectReportModelDialogViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { //Hand switch (e.PropertyName) { case "SelectedDataModel": OKCommand.UpdateCanExecuteCommand(); break; } }