8 references to LastUnit
PresentationFramework (8)
src\Framework\MS\Internal\Documents\UndoManager.cs (3)
233if (unit != LastUnit) 460if (LastUnit is IParentUndoUnit) 462((IParentUndoUnit)LastUnit).OnNextAdd();
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
399else if (undoManager.LastUnit is IParentUndoUnit) 401((IParentUndoUnit)undoManager.LastUnit).OnNextAdd(); // TODO: Should IParentUndoUnit have a Lock() instead, now that Undo is internal?
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1969if (_compositionUndoUnit != null && _compositionUndoUnit == undoManager.LastUnit && !_compositionUndoUnit.Locked)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1835if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked) 1860if (This._typingUndoUnit != null && undoManager.LastUnit == This._typingUndoUnit && !This._typingUndoUnit.Locked)