1 interface inheriting from IUndoUnit
PresentationFramework (1)
src\Framework\MS\Internal\Documents\IParentUndoUnit.cs (1)
27internal interface IParentUndoUnit : IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (1)
23internal abstract class TextTreeUndoUnit : IUndoUnit
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
43internal class UIElementPropertyUndoUnit : IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
src\Framework\MS\Internal\Documents\IParentUndoUnit.cs (2)
72void Add(IUndoUnit newUnit); 103IUndoUnit LastUnit
src\Framework\MS\Internal\Documents\IUndoUnit.cs (1)
57bool Merge(IUndoUnit unit);
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (10)
235public virtual void Add(IUndoUnit unit) 302foreach (IUndoUnit unit in _units) 318foreach (IUndoUnit unit in _units) 355IUndoUnit unit; 357unit = _units.Pop() as IUndoUnit; 380public virtual bool Merge(IUndoUnit unit) 430public IUndoUnit LastUnit 526protected void SetLastUnit(IUndoUnit value) 620bool IsInParentUnitChain(IUndoUnit unit) 659private IUndoUnit _lastUnit;
src\Framework\MS\Internal\Documents\UndoManager.cs (22)
84_undoStack = new List<IUndoUnit>(4); 236Add(unit as IUndoUnit); 237SetLastUnit(unit as IUndoUnit); 438internal void Add(IUndoUnit unit) 573IUndoUnit unit; 638IUndoUnit unit; 640unit = (IUndoUnit)RedoStack.Pop(); 670internal IUndoUnit PeekUndoStack() 678return UndoStack[_topUndoIndex] as IUndoUnit; 739List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoCount); 791List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoLimit); 876internal IUndoUnit LastUnit 958internal IUndoUnit GetUndoUnit(int index) 1069protected void SetLastUnit(IUndoUnit value) 1108protected List<IUndoUnit> UndoStack 1163private IUndoUnit PopUndoStack() 1166IUndoUnit unit = (IUndoUnit)UndoStack[_topUndoIndex]; 1206private IUndoUnit _lastUnit; 1207private List<IUndoUnit> _undoStack; // stack of undo units
src\Framework\System\Windows\Documents\TextStore.cs (1)
4220Add((IUndoUnit)units[i]);
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (1)
71public bool Merge(IUndoUnit unit)
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
86public bool Merge(IUndoUnit unit)