1 interface inheriting from IUndoUnit
PresentationFramework (1)
MS\Internal\Documents\IParentUndoUnit.cs (1)
17internal interface IParentUndoUnit : IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
System\Windows\Documents\TextTreeUndoUnit.cs (1)
15internal abstract class TextTreeUndoUnit : IUndoUnit
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
38internal class UIElementPropertyUndoUnit : IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
MS\Internal\Documents\IParentUndoUnit.cs (2)
62void Add(IUndoUnit newUnit); 93IUndoUnit LastUnit
MS\Internal\Documents\IUndoUnit.cs (1)
49bool Merge(IUndoUnit unit);
MS\Internal\Documents\ParentUndoUnit.cs (10)
221public virtual void Add(IUndoUnit unit) 285foreach (IUndoUnit unit in _units) 301foreach (IUndoUnit unit in _units) 338IUndoUnit unit; 340unit = _units.Pop() as IUndoUnit; 363public virtual bool Merge(IUndoUnit unit) 413public IUndoUnit LastUnit 509protected void SetLastUnit(IUndoUnit value) 603bool IsInParentUnitChain(IUndoUnit unit) 642private IUndoUnit _lastUnit;
MS\Internal\Documents\UndoManager.cs (22)
68_undoStack = new List<IUndoUnit>(4); 207Add(unit as IUndoUnit); 208SetLastUnit(unit as IUndoUnit); 403internal void Add(IUndoUnit unit) 533IUndoUnit unit; 596IUndoUnit unit; 598unit = (IUndoUnit)RedoStack.Pop(); 628internal IUndoUnit PeekUndoStack() 636return UndoStack[_topUndoIndex] as IUndoUnit; 697List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoCount); 749List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoLimit); 834internal IUndoUnit LastUnit 916internal IUndoUnit GetUndoUnit(int index) 1027protected void SetLastUnit(IUndoUnit value) 1066protected List<IUndoUnit> UndoStack 1121private IUndoUnit PopUndoStack() 1124IUndoUnit unit = (IUndoUnit)UndoStack[_topUndoIndex]; 1164private IUndoUnit _lastUnit; 1165private List<IUndoUnit> _undoStack; // stack of undo units
System\Windows\Documents\TextStore.cs (1)
4369Add((IUndoUnit)units[i]);
System\Windows\Documents\TextTreeUndoUnit.cs (1)
63public bool Merge(IUndoUnit unit)
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
81public bool Merge(IUndoUnit unit)