32 references to SelectionCount
System.Data (32)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (15)
115return _displayedSelection == null || _displayedSelection.SelectionCount != 1; 128if (_displayedSelection == null || _displayedSelection.SelectionCount == 0) 133if (_displayedSelection.SelectionCount == 1) 199if (_displayedSelection == null || _displayedSelection.SelectionCount == 0) 204if (_displayedSelection.SelectionCount == 1 || AreHomogenous(_displayedSelection.SelectedObjects)) 207if (_displayedSelection.SelectionCount == 1) 261if (_displayedSelection == null || _displayedSelection.SelectionCount == 0) 266if (_displayedSelection.SelectionCount == 1 || AreHomogenous(_displayedSelection.SelectedObjects)) 548if (_lastNotifiedSelection.SelectionCount > 1) 627if (_displayedSelection == null || _displayedSelection.SelectionCount < 1) 644if (selection == null || selection.SelectionCount < 1) 669return selection != null && selection.SelectionCount == 1; 682if (a.SelectionCount != b.SelectionCount) 737selection == null ? 0 : selection.SelectionCount))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
716return selection.SelectionCount > 0 && selection.SelectedObjects.All(p => CanCopy(p)); 727if (null != selection && selection.SelectionCount > 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (1)
22if (null != selection && selection.SelectionCount > 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\EditingContextUtilities.cs (1)
28if (selection.SelectionCount == 1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
127if (selection.SelectionCount == 1 && selection.PrimarySelection == modelService.Root)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
246if (oldSelection != null && oldSelection.SelectionCount > 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (5)
394if (null != currentSelection && currentSelection.SelectionCount >= 1) 396if (currentSelection.SelectionCount == 1) // single selection 1342if (selection.SelectionCount != 0 && selection.PrimarySelection.View != null) 1426if (selection.SelectionCount == 1 && selection.PrimarySelection.View is WorkflowViewElement) 1454Fx.Assert(selection.SelectionCount == 1, "selection.SelectionCount should be 1.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
310if (curSelection == null || curSelection.SelectionCount == 0) 317if (curSelection.SelectionCount == 1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (1)
329if (selection != null && selection.SelectionCount > 1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
316if (oldSelection != null && oldSelection.SelectionCount > 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
547DateTime.Now.ToLocalTime(), this.GetType().Name, selection.SelectionCount, becomesSelection, e.OriginalSource)); 724if (selection.SelectionCount != 1)