8 references to LastUnit
PresentationFramework (8)
MS\Internal\Documents\UndoManager.cs (3)
204if (unit != LastUnit) 422if (LastUnit is IParentUndoUnit) 424((IParentUndoUnit)LastUnit).OnNextAdd();
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
369else if (undoManager.LastUnit is IParentUndoUnit) 371((IParentUndoUnit)undoManager.LastUnit).OnNextAdd(); // Should IParentUndoUnit have a Lock() instead, now that Undo is internal?
System\Windows\Documents\ImmComposition.cs (1)
1758if (_compositionUndoUnit != null && _compositionUndoUnit == undoManager.LastUnit && !_compositionUndoUnit.Locked)
System\windows\Documents\TextEditorTyping.cs (2)
1796if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked) 1821if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked)