1 implementation of IParentUndoUnit
PresentationFramework (1)
MS\Internal\Documents\ParentUndoUnit.cs (1)
19internal class ParentUndoUnit : IParentUndoUnit
63 references to IParentUndoUnit
PresentationFramework (63)
MS\Internal\Documents\IParentUndoUnit.cs (3)
43void Open(IParentUndoUnit newUnit); 55void Close(IParentUndoUnit closingUnit, UndoCloseAction closeAction); 101IParentUndoUnit OpenedUnit
MS\Internal\Documents\ParentUndoUnit.cs (29)
59public virtual void Open(IParentUndoUnit newUnit) 61IParentUndoUnit deepestOpen; 113public virtual void Close(IParentUndoUnit unit, UndoCloseAction closeAction) 127IParentUndoUnit closeParent; 169((IParentUndoUnit)OpenedUnit).Do(); 181((IParentUndoUnit)TopContainer).OnNextDiscard(); 197IParentUndoUnit openedUnit = OpenedUnit; 223IParentUndoUnit parentUndoUnit; 249if (LastUnit is IParentUndoUnit) 251((IParentUndoUnit)LastUnit).OnNextAdd(); 287if (unit is IParentUndoUnit) 289((IParentUndoUnit)unit).OnNextAdd(); 300IParentUndoUnit lastParent = this; 303if (unit is IParentUndoUnit) 305lastParent = unit as IParentUndoUnit; 321IParentUndoUnit redo; 402public IParentUndoUnit OpenedUnit 448if (!(value is IParentUndoUnit || value is UndoManager)) 498protected void SetOpenedUnit(IParentUndoUnit value) 520protected virtual IParentUndoUnit CreateParentUndoUnitForSelf() 539protected IParentUndoUnit DeepestOpenUnit 543IParentUndoUnit openedUnit; 567while (container is IParentUndoUnit && ((IParentUndoUnit)container).Container != null) 569container = ((IParentUndoUnit)container).Container; 605if (unit is IParentUndoUnit) 607IParentUndoUnit parent; 617parent = parent.Container as IParentUndoUnit; 641private IParentUndoUnit _openedUnit;
MS\Internal\Documents\UndoManager.cs (20)
185internal void Open(IParentUndoUnit unit) 187IParentUndoUnit deepestOpen; 236internal void Reopen(IParentUndoUnit unit) 265if (RedoStack.Count == 0 || (IParentUndoUnit)RedoStack.Peek() != unit) 312internal void Close(IParentUndoUnit unit, UndoCloseAction closeAction) 329IParentUndoUnit closeParent; 405IParentUndoUnit parent; 419else if (unit is IParentUndoUnit) 421((IParentUndoUnit)unit).Container = this; 422if (LastUnit is IParentUndoUnit) 424((IParentUndoUnit)LastUnit).OnNextAdd(); 621IParentUndoUnit lastParent = (IParentUndoUnit)PeekUndoStack(); 823internal IParentUndoUnit OpenedUnit 850internal IParentUndoUnit LastReopenedUnit 1016protected void SetOpenedUnit(IParentUndoUnit value) 1035protected IParentUndoUnit DeepestOpenUnit 1039IParentUndoUnit openedUnit; 1163private IParentUndoUnit _openedUnit; 1169private IParentUndoUnit _lastReopenedUnit;
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
355IParentUndoUnit openedUnit = undoManager.OpenedUnit; 362if (openedUnit.LastUnit is IParentUndoUnit) 367else if (undoManager.LastUnit is IParentUndoUnit) 369((IParentUndoUnit)undoManager.LastUnit).OnNextAdd(); // Should IParentUndoUnit have a Lock() instead, now that Undo is internal?
System\Windows\Documents\ChangeBlockUndoRecord.cs (3)
81IParentUndoUnit openedUnit; 89openedUnit = ((IParentUndoUnit)_parentUndoUnit.Container).OpenedUnit; 117private readonly IParentUndoUnit _parentUndoUnit;
System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
39IParentUndoUnit redo;
System\windows\Documents\TextEditor.cs (1)
2026internal IParentUndoUnit _typingUndoUnit;
System\Windows\Documents\TextParentUndoUnit.cs (1)
136protected override IParentUndoUnit CreateParentUndoUnitForSelf()
System\Windows\Documents\TextRangeEditTables.cs (1)
1765IParentUndoUnit columnResizeUndoUnit = new ColumnResizeUndoUnit(table.ContentStart, columnIndex, _columnWidths, dx);