8 references to LastUnit
PresentationFramework (8)
MS\Internal\Documents\UndoManager.cs (3)
213if (unit != LastUnit) 431if (LastUnit is IParentUndoUnit) 433((IParentUndoUnit)LastUnit).OnNextAdd();
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
376else if (undoManager.LastUnit is IParentUndoUnit) 378((IParentUndoUnit)undoManager.LastUnit).OnNextAdd(); // Should IParentUndoUnit have a Lock() instead, now that Undo is internal?
System\Windows\Documents\ImmComposition.cs (1)
1779if (_compositionUndoUnit != null && _compositionUndoUnit == undoManager.LastUnit && !_compositionUndoUnit.Locked)
System\windows\Documents\TextEditorTyping.cs (2)
1805if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked) 1830if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked)