29 references to Items
System.Workflow.ComponentModel (29)
AuthoringOM\Design\ActivityPreviewDesigner.cs (24)
330
foreach (ItemInfo itemInfo in this.previewStrip.
Items
)
443
foreach (ItemInfo item in this.previewStrip.
Items
)
466
nextObject = this.previewStrip.
Items
[(index > 0) ? index - 1 : this.previewStrip.
Items
.Count - 1].UserData[DesignerUserDataKeys.Activity];
467
else if (direction == DesignerNavigationDirection.Right && index <= this.previewStrip.
Items
.Count - 1)
468
nextObject = this.previewStrip.
Items
[(index < this.previewStrip.
Items
.Count - 1) ? index + 1 : 0].UserData[DesignerUserDataKeys.Activity];
490
this.previewStrip.
Items
.Add(stripItem);
712
selectedItem = this.previewStrip.
Items
.IndexOf(previewStrip.ActiveItem);
733
if (selectedItem != -1 && selectedItem < this.previewStrip.
Items
.Count)
735
ItemInfo itemInfo = this.previewStrip.
Items
[selectedItem];
771
if (listChangeArgs.Index < this.previewStrip.
Items
.Count)
772
this.previewStrip.
Items
.Insert(listChangeArgs.Index, itemToAdd);
774
this.previewStrip.
Items
.Add(itemToAdd);
778
int index = this.previewStrip.
Items
.IndexOf(new ItemInfo(listChangeArgs.RemovedItems[0].GetHashCode()));
780
this.previewStrip.
Items
.RemoveAt(index);
809
foreach (ItemInfo itemInfo in this.previewStrip.
Items
)
871
int index = this.previewStrip.
Items
.IndexOf(activeItem) + ((viewNext) ? 1 : -1);
872
index = (index >= this.previewStrip.
Items
.Count) ? 0 : (index < 0) ? this.previewStrip.
Items
.Count - 1 : index;
873
this.previewStrip.ActiveItem = this.previewStrip.
Items
[index];
882
designerVerb.Enabled = (this.previewStrip.ActiveItem != null && this.previewStrip.
Items
.Count > 1 && this.previewStrip.
Items
.IndexOf(this.previewStrip.ActiveItem) >= 0);
907
foreach (ItemInfo item in this.previewStrip.
Items
)
AuthoringOM\Design\DesignerWidgets.cs (5)
2460
for (int i = 0; (i < VisibleItemCount) && ((this.scrollMarker + i) <
Items
.Count); i++)
2946
bounds = (index >= 0 && index < this.itemStrip.
Items
.Count) ? this.itemStrip.GetItemBounds(this.itemStrip.
Items
[index]) : Rectangle.Empty;
3164
ItemInfo itemInfo = (index >= 0 && index < this.itemStrip.
Items
.Count) ? this.itemStrip.
Items
[index] : null;