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