21 references to OpenedUnit
PresentationFramework (21)
src\Framework\MS\Internal\Documents\UndoManager.cs (8)
277if (OpenedUnit != null) 325Close(OpenedUnit, closeAction); 356if (OpenedUnit == null) 362if (OpenedUnit != unit) 366closeParent = OpenedUnit; 558if (OpenedUnit != null) 625if (OpenedUnit != null) 1083openedUnit = OpenedUnit;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
739undoManager.OpenedUnit != null && 740undoManager.OpenedUnit.GetType() != typeof(TextParentUndoUnit))
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (4)
387IParentUndoUnit openedUnit = undoManager.OpenedUnit; 1458else if (undoManager.OpenedUnit == null) 1462else if (undoManager.LastReopenedUnit == undoManager.OpenedUnit) 1760if (undoManager.OpenedUnit != null)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
1330undoManager.OpenedUnit != null && 1331undoManager.OpenedUnit.GetType() != typeof(System.Windows.Documents.TextParentUndoUnit))
src\Framework\System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
43if (_undoManager.OpenedUnit == null) 87openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit;
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1967if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit == null) 1998if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit != null)
src\Framework\System\Windows\Documents\TextTreeUndo.cs (1)
129if (undoManager.OpenedUnit == null)