28 references to ItemListChangeAction
System.Workflow.ComponentModel (28)
AuthoringOM\Design\DesignerWidgets.cs (7)
911
if (e.Action ==
ItemListChangeAction
.Remove && e.RemovedItems.Count > 0 && this.selectedItem == e.RemovedItems[0])
921
if (e.Action ==
ItemListChangeAction
.Add)
926
else if (e.Action ==
ItemListChangeAction
.Remove)
2045
if (e.Action ==
ItemListChangeAction
.Add)
2859
if (e.Action ==
ItemListChangeAction
.Remove && e.RemovedItems.Count > 0 && ActiveItem == e.RemovedItems[0])
2869
if (e.Action ==
ItemListChangeAction
.Add && e.AddedItems.Count > 0)
2871
if (e.Action ==
ItemListChangeAction
.Remove)
AuthoringOM\ItemList.cs (21)
21
private
ItemListChangeAction
action =
ItemListChangeAction
.Add;
23
public ItemListChangeEventArgs(int index, ICollection<T> removedItems, ICollection<T> addedItems, object owner,
ItemListChangeAction
action)
32
public ItemListChangeEventArgs(int index, T removedActivity, T addedActivity, object owner,
ItemListChangeAction
action)
81
public
ItemListChangeAction
Action
133
FireListChanging(new ItemListChangeEventArgs<T>(index, item, default(T), this.owner,
ItemListChangeAction
.Remove));
135
FireListChanged(new ItemListChangeEventArgs<T>(index, item, default(T), this.owner,
ItemListChangeAction
.Remove));
145
FireListChanging(new ItemListChangeEventArgs<T>(index, default(T), item, this.owner,
ItemListChangeAction
.Add));
147
FireListChanged(new ItemListChangeEventArgs<T>(index, default(T), item, this.owner,
ItemListChangeAction
.Add));
161
FireListChanging(new ItemListChangeEventArgs<T>(index, oldItem, value, this.owner,
ItemListChangeAction
.Replace));
163
FireListChanged(new ItemListChangeEventArgs<T>(index, oldItem, value, this.owner,
ItemListChangeAction
.Replace));
196
FireListChanging(new ItemListChangeEventArgs<T>(index, item, default(T), this.owner,
ItemListChangeAction
.Remove));
198
FireListChanged(new ItemListChangeEventArgs<T>(index, item, default(T), this.owner,
ItemListChangeAction
.Remove));
207
FireListChanging(new ItemListChangeEventArgs<T>(-1, children, null, this.owner,
ItemListChangeAction
.Remove));
209
FireListChanged(new ItemListChangeEventArgs<T>(-1, children, null, this.owner,
ItemListChangeAction
.Remove));
217
FireListChanging(new ItemListChangeEventArgs<T>(base.Count, default(T), item, this.owner,
ItemListChangeAction
.Add));
219
FireListChanged(new ItemListChangeEventArgs<T>(base.Count, default(T), item, this.owner,
ItemListChangeAction
.Add));
255
FireListChanging(new ItemListChangeEventArgs<T>(-1, null, new List<T>(collection), this.owner,
ItemListChangeAction
.Add));
257
FireListChanged(new ItemListChangeEventArgs<T>(base.Count, null, new List<T>(collection), this.owner,
ItemListChangeAction
.Add));
267
FireListChanging(new ItemListChangeEventArgs<T>(index, null, new List<T>(collection), this.owner,
ItemListChangeAction
.Add));
269
FireListChanged(new ItemListChangeEventArgs<T>(index, null, new List<T>(collection), this.owner,
ItemListChangeAction
.Add));