21 references to OpenedUnit
PresentationFramework (21)
MS\Internal\Documents\UndoManager.cs (8)
245if (OpenedUnit != null) 293Close(OpenedUnit, closeAction); 321if (OpenedUnit == null) 327if (OpenedUnit != unit) 331closeParent = OpenedUnit; 518if (OpenedUnit != null) 583if (OpenedUnit != null) 1041openedUnit = OpenedUnit;
System\Windows\Controls\ComboBox.cs (2)
727undoManager.OpenedUnit != null && 728undoManager.OpenedUnit.GetType() != typeof(TextParentUndoUnit))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
357IParentUndoUnit openedUnit = undoManager.OpenedUnit; 1425else if (undoManager.OpenedUnit == null) 1429else if (undoManager.LastReopenedUnit == undoManager.OpenedUnit) 1723if (undoManager.OpenedUnit != null)
System\Windows\Data\BindingExpressionBase.cs (2)
1320undoManager.OpenedUnit != null && 1321undoManager.OpenedUnit.GetType() != typeof(System.Windows.Documents.TextParentUndoUnit))
System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
41if (_undoManager.OpenedUnit == null) 85openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit;
System\Windows\Documents\ImmComposition.cs (2)
1756if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit == null) 1787if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit != null)
System\Windows\Documents\TextTreeUndo.cs (1)
125if (undoManager.OpenedUnit == null)