38 references to SelectedObjects
System.Data (38)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (9)
204
if (_displayedSelection.SelectionCount == 1 || AreHomogenous(_displayedSelection.
SelectedObjects
))
266
if (_displayedSelection.SelectionCount == 1 || AreHomogenous(_displayedSelection.
SelectedObjects
))
550
foreach (ModelItem item in _lastNotifiedSelection.
SelectedObjects
)
650
foreach (ModelItem item in selection.
SelectedObjects
)
688
IEnumerator<ModelItem> ea = a.
SelectedObjects
.GetEnumerator();
689
IEnumerator<ModelItem> eb = b.
SelectedObjects
.GetEnumerator();
736
selection == null ? null : selection.
SelectedObjects
,
782
FindCommonType(selection == null ? null : selection.
SelectedObjects
),
894
ModelPropertyMerger.GetMergedDefaultProperty(selection.
SelectedObjects
),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
186
List<ModelItem> modelItemsToCut = new List<ModelItem>(currentSelection.
SelectedObjects
);
236
List<ModelItem> modelItemsToCopy = new List<ModelItem>(currentSelection.
SelectedObjects
);
716
return selection.SelectionCount > 0 && selection.
SelectedObjects
.All(p => CanCopy(p));
730
result = selection.
SelectedObjects
.All(p =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (2)
25
canExecute = selection.
SelectedObjects
.All(
43
var toDelete = selection.
SelectedObjects
.Where(p => null != p.View && p.View is WorkflowViewElement && !p.View.Equals(designerView.RootDesigner));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
138
if (selection.
SelectedObjects
.Contains(modelItem) && modelItem != this.lastNavigatedItem)
399
foreach (ModelItem candidateArgument in selection.
SelectedObjects
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
248
foreach (ModelItem item in oldSelection.
SelectedObjects
)
305
foreach (ModelItem item in selection.
SelectedObjects
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1357
foreach (ModelItem item in selection.
SelectedObjects
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (5)
197
foreach (ModelItem obj in existing.
SelectedObjects
) {
199
List<ModelItem> list = new List<ModelItem>(existing.
SelectedObjects
);
230
IEnumerator<ModelItem> en = existing.
SelectedObjects
.GetEnumerator();
279
List<ModelItem> list = new List<ModelItem>(existing.
SelectedObjects
);
315
List<ModelItem> list = new List<ModelItem>(existing.
SelectedObjects
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
318
foreach (ModelItem item in oldSelection.
SelectedObjects
)
388
foreach (ModelItem item in selection.
SelectedObjects
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (3)
61
Getter = (modelItem) => (((IList)this.context.Items.GetValue<Selection>().
SelectedObjects
).Contains(modelItem)),
119
IList<ModelItem> newSelectionObjects = newSelection.
SelectedObjects
as IList<ModelItem>;
120
IList<ModelItem> oldSelectionObjects = oldSelection.
SelectedObjects
as IList<ModelItem>;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
470
if (this.Context.Items.GetValue<Selection>().
SelectedObjects
.Contains(e.OldValue))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
286
IList<ModelItem> selectedItems = this.Context.Items.GetValue<Selection>().
SelectedObjects
.ToList();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (6)
529
foreach (ModelItem item in selection.
SelectedObjects
)
655
bool isSelected = this.Context.Items.GetValue<Selection>().
SelectedObjects
.Contains<ModelItem>(this.ModelItem);
677
foreach (ModelItem item in selection.
SelectedObjects
)
730
return selection.
SelectedObjects
.All<ModelItem>((p) =>
764
if (!selection.
SelectedObjects
.Contains(this.ModelItem))
925
IEnumerable<ModelItem> selectedObjects = selection.
SelectedObjects
;