private void CommandRun_CanExecute(object sender, System.Windows.Input.CanExecuteRoutedEventArgs e) { e.CanExecute = (_wd != null && !_wd.IsInErrorState()); }
private Boolean CanExecute() { return(_validationErrorService.Errors.Count <= 0 && !_designer.IsInErrorState()); }