1 interface inheriting from IUndoUnit
PresentationFramework (1)
MS\Internal\Documents\IParentUndoUnit.cs (1)
21internal interface IParentUndoUnit : IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
System\Windows\Documents\TextTreeUndoUnit.cs (1)
17internal abstract class TextTreeUndoUnit : IUndoUnit
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
40internal class UIElementPropertyUndoUnit : IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
MS\Internal\Documents\IParentUndoUnit.cs (2)
66void Add(IUndoUnit newUnit); 97IUndoUnit LastUnit
MS\Internal\Documents\IUndoUnit.cs (1)
51bool Merge(IUndoUnit unit);
MS\Internal\Documents\ParentUndoUnit.cs (10)
223public virtual void Add(IUndoUnit unit) 287foreach (IUndoUnit unit in _units) 303foreach (IUndoUnit unit in _units) 340IUndoUnit unit; 342unit = _units.Pop() as IUndoUnit; 365public virtual bool Merge(IUndoUnit unit) 415public IUndoUnit LastUnit 511protected void SetLastUnit(IUndoUnit value) 605bool IsInParentUnitChain(IUndoUnit unit) 644private IUndoUnit _lastUnit;
MS\Internal\Documents\UndoManager.cs (22)
77_undoStack = new List<IUndoUnit>(4); 216Add(unit as IUndoUnit); 217SetLastUnit(unit as IUndoUnit); 412internal void Add(IUndoUnit unit) 542IUndoUnit unit; 605IUndoUnit unit; 607unit = (IUndoUnit)RedoStack.Pop(); 637internal IUndoUnit PeekUndoStack() 645return UndoStack[_topUndoIndex] as IUndoUnit; 706List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoCount); 758List<IUndoUnit> undoStack = new List<IUndoUnit>(UndoLimit); 843internal IUndoUnit LastUnit 925internal IUndoUnit GetUndoUnit(int index) 1036protected void SetLastUnit(IUndoUnit value) 1075protected List<IUndoUnit> UndoStack 1130private IUndoUnit PopUndoStack() 1133IUndoUnit unit = (IUndoUnit)UndoStack[_topUndoIndex]; 1173private IUndoUnit _lastUnit; 1174private List<IUndoUnit> _undoStack; // stack of undo units
System\Windows\Documents\TextStore.cs (1)
4380Add((IUndoUnit)units[i]);
System\Windows\Documents\TextTreeUndoUnit.cs (1)
65public bool Merge(IUndoUnit unit)
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
83public bool Merge(IUndoUnit unit)