7 references to PeekUndoStack
PresentationFramework (7)
MS\Internal\Documents\UndoManager.cs (6)
255
if (UndoCount == 0 ||
PeekUndoStack
() != unit)
368
SetLastUnit(_topUndoIndex == -1 ? null :
PeekUndoStack
()); // can be null, which is fine
434
if (!(_topUndoIndex < UndoStack.Count &&
PeekUndoStack
() == null) // Non-null topmost stack item
441
if (
PeekUndoStack
() != null)
621
IParentUndoUnit lastParent = (IParentUndoUnit)
PeekUndoStack
();
870
else if (_topUndoIndex == _bottomUndoIndex - 1 &&
PeekUndoStack
() == null)
System\Windows\Documents\TextStore.cs (1)
4112
return undoManager.
PeekUndoStack
() as CompositionParentUndoUnit;