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