Exemplo n.º 1
0
 private void RefreshViewOnSelectionChange(object sender, NotifyCollectionChangedEventArgs args)
 {
     AlignSelectedCommand.RaiseCanExecuteChanged();
     ShowHideAllGeometryPreviewCommand.RaiseCanExecuteChanged();
     SetArgumentLacingCommand.RaiseCanExecuteChanged();
     RaisePropertyChanged("HasSelection");
     RaisePropertyChanged("IsGeometryOperationEnabled");
     RaisePropertyChanged("AnyNodeVisible");
     RaisePropertyChanged("SelectionArgumentLacing");
 }
Exemplo n.º 2
0
 private void RefreshViewOnSelectionChange()
 {
     AlignSelectedCommand.RaiseCanExecuteChanged();
     ShowHideAllUpstreamPreviewCommand.RaiseCanExecuteChanged();
     ShowHideAllGeometryPreviewCommand.RaiseCanExecuteChanged();
     SetArgumentLacingCommand.RaiseCanExecuteChanged();
     RaisePropertyChanged("HasSelection");
     RaisePropertyChanged("AnyNodeVisible");
     RaisePropertyChanged("AnyNodeUpstreamVisible");
     RaisePropertyChanged("SelectionArgumentLacing");
 }