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