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