21 references to OpenedUnit
PresentationFramework (21)
MS\Internal\Documents\UndoManager.cs (8)
254if (OpenedUnit != null) 302Close(OpenedUnit, closeAction); 330if (OpenedUnit == null) 336if (OpenedUnit != unit) 340closeParent = OpenedUnit; 527if (OpenedUnit != null) 592if (OpenedUnit != null) 1050openedUnit = OpenedUnit;
System\Windows\Controls\ComboBox.cs (2)
737undoManager.OpenedUnit != null && 738undoManager.OpenedUnit.GetType() != typeof(TextParentUndoUnit))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
364IParentUndoUnit openedUnit = undoManager.OpenedUnit; 1432else if (undoManager.OpenedUnit == null) 1436else if (undoManager.LastReopenedUnit == undoManager.OpenedUnit) 1730if (undoManager.OpenedUnit != null)
System\Windows\Data\BindingExpressionBase.cs (2)
1328undoManager.OpenedUnit != null && 1329undoManager.OpenedUnit.GetType() != typeof(System.Windows.Documents.TextParentUndoUnit))
System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
43if (_undoManager.OpenedUnit == null) 87openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit;
System\Windows\Documents\ImmComposition.cs (2)
1777if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit == null) 1808if (undoManager != null && undoManager.IsEnabled && undoManager.OpenedUnit != null)
System\Windows\Documents\TextTreeUndo.cs (1)
123if (undoManager.OpenedUnit == null)