7 references to PeekUndoStack
PresentationFramework (7)
src\Framework\MS\Internal\Documents\UndoManager.cs (6)
287if (UndoCount == 0 || PeekUndoStack() != unit) 403SetLastUnit(_topUndoIndex == -1 ? null : PeekUndoStack()); // can be null, which is fine 472if (!(_topUndoIndex < UndoStack.Count && PeekUndoStack() == null) // Non-null topmost stack item 479if (PeekUndoStack() != null) 663IParentUndoUnit lastParent = (IParentUndoUnit)PeekUndoStack(); 912else if (_topUndoIndex == _bottomUndoIndex - 1 && PeekUndoStack() == null)
src\Framework\System\Windows\Documents\TextStore.cs (1)
3938return undoManager.PeekUndoStack() as CompositionParentUndoUnit;