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