36 references to Items
System.Data (36)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (36)
167
IModelTreeItem modelTreeItem = this.
Items
as IModelTreeItem;
234
if (this.
Items
== null)
278
if (this.
Items
.Count == 0)
293
if (this.
Items
.Count > 0)
342
if (this.
Items
!= null)
345
this.
Items
.CollectionChanged -= new NotifyCollectionChangedEventHandler(OnCollectionChanged);
346
this.
Items
.CollectionChanged += new NotifyCollectionChangedEventHandler(OnCollectionChanged);
368
if (this.
Items
!= null)
370
this.
Items
.CollectionChanged -= new NotifyCollectionChangedEventHandler(OnCollectionChanged);
380
if (this.
Items
!= null)
395
foreach (ModelItem item in this.
Items
)
445
if (this.hintTextGrid != null && this.
Items
!= null)
447
this.hintTextGrid.Visibility = (this.
Items
.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.Visible : Visibility.Collapsed;
549
return index < this.
Items
.IndexOf(sortedModelItems[0]) || index > this.
Items
.IndexOf(sortedModelItems.Last()) + 1;
555
int oldIndex = this.
Items
.IndexOf(sortedModelItems[0]);
558
if (oldIndex != this.
Items
.IndexOf(item))
581
foreach (ModelItem item in this.
Items
)
608
DragDropHelper.ValidateItemsAreOnView(movedItems, this.
Items
);
614
ModelItemHelper.TryCreateImmediateEditingScopeAndExecute(this.
Items
.GetEditingContext(), System.Activities.Presentation.SR.CollectionAddEditingScopeDescription, (es) =>
652
int oldIndex = this.
Items
.IndexOf(modelItem);
653
this.
Items
.Remove(modelItem);
724
ModelItem parentModelItem = this.
Items
;
742
insertedItem = this.
Items
.Add(droppedObject);
746
insertedItem = this.
Items
.Insert(index, droppedObject);
769
int targetIndex = this.
Items
.IndexOf(dropTarget.ModelItem);
806
if (this.
Items
.Contains(modelItem))
808
this.
Items
.Remove(modelItem);
822
this.
Items
.Remove(item);
841
index = this.
Items
.IndexOf(currentSelection.PrimarySelection);
863
modelItemsToSelect.Add(this.
Items
.Add(itemToPaste));
867
modelItemsToSelect.Add(this.
Items
.Insert(index, itemToPaste));
891
if (null != this.
Items
&& this.
Items
.Contains(p))
893
this.
Items
.Remove(p);
942
if (owner.
Items
.Count > 0)