1 write to containerUndoUnit
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (1)
222
this.
containerUndoUnit
= undoUnit;
18 references to containerUndoUnit
System.Data (18)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (18)
239
if (this.
containerUndoUnit
.DoList.Count != 0 || this.
containerUndoUnit
.RedoList.Count != 0)
242
this.undoEngine.AddUndoUnit(this.
containerUndoUnit
);
257
foreach (UndoUnit unit in this.
containerUndoUnit
.DoList.Reverse<UndoUnit>())
262
this.
containerUndoUnit
.DoList.Clear();
263
this.
containerUndoUnit
.RedoList.Clear();
269
this.undoEngine.NotifyUndoUnitCancelled(this.
containerUndoUnit
);
299
this.
containerUndoUnit
.DoList.Add(unit);
301
this.
containerUndoUnit
.RedoList.Clear();
308
if (this.
containerUndoUnit
.DoList.Count > 0)
311
UndoUnit unitToUndo = this.
containerUndoUnit
.DoList.Last();
313
this.
containerUndoUnit
.DoList.RemoveAt(this.
containerUndoUnit
.DoList.Count - 1);
317
this.
containerUndoUnit
.RedoList.Insert(0, unitToUndo);
327
if (this.
containerUndoUnit
.RedoList.Count > 0)
330
UndoUnit unitToRedo = this.
containerUndoUnit
.RedoList.First();
332
this.
containerUndoUnit
.RedoList.RemoveAt(0);
336
this.
containerUndoUnit
.DoList.Add(unitToRedo);