21 references to OpenedUnit
PresentationFramework (21)
MS\Internal\Documents\UndoManager.cs (8)
244if (OpenedUnit != null) 292Close(OpenedUnit, closeAction); 320if (OpenedUnit == null) 326if (OpenedUnit != unit) 330closeParent = OpenedUnit; 517if (OpenedUnit != null) 582if (OpenedUnit != null) 1040openedUnit = OpenedUnit;
System\Windows\Controls\ComboBox.cs (2)
718undoManager.OpenedUnit != null && 719undoManager.OpenedUnit.GetType() != typeof(TextParentUndoUnit))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
356IParentUndoUnit openedUnit = undoManager.OpenedUnit; 1370else if (undoManager.OpenedUnit == null) 1374else if (undoManager.LastReopenedUnit == undoManager.OpenedUnit) 1656if (undoManager.OpenedUnit != null)
System\Windows\Data\BindingExpressionBase.cs (2)
1318undoManager.OpenedUnit != null && 1319undoManager.OpenedUnit.GetType() != typeof(System.Windows.Documents.TextParentUndoUnit))
System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
40if (_undoManager.OpenedUnit == null) 84openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit;
System\Windows\Documents\ImmComposition.cs (2)
1755if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit == null) 1786if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit != null)
System\Windows\Documents\TextTreeUndo.cs (1)
124if (undoManager.OpenedUnit == null)