1 instantiation of UndoManager
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
178
_undoManager = new
UndoManager
();
111 references to UndoManager
PresentationFramework (111)
MS\Internal\Documents\ParentUndoUnit.cs (7)
115
UndoManager
undoManager;
152
undoManager = TopContainer as
UndoManager
;
175
if (TopContainer is
UndoManager
)
177
((
UndoManager
)TopContainer).OnNextDiscard();
322
UndoManager
topContainer;
326
topContainer = TopContainer as
UndoManager
;
448
if (!(value is IParentUndoUnit || value is
UndoManager
))
MS\Internal\Documents\UndoManager.cs (19)
94
internal static void AttachUndoManager(DependencyObject scope,
UndoManager
undoManager)
99
if (undoManager is
UndoManager
&& ((
UndoManager
)undoManager)._scope != null)
108
scope.SetValue(
UndoManager
.UndoManagerInstanceProperty, undoManager);
109
if (undoManager is
UndoManager
)
111
Debug.Assert(((
UndoManager
)undoManager)._scope == null);
112
((
UndoManager
)undoManager)._scope = scope;
129
UndoManager
undoManager;
134
undoManager = scope.ReadLocalValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
141
scope.ClearValue(
UndoManager
.UndoManagerInstanceProperty);
144
if (undoManager is
UndoManager
)
146
Debug.Assert(((
UndoManager
)undoManager)._scope == scope);
147
((
UndoManager
)undoManager)._scope = null;
160
internal static
UndoManager
GetUndoManager(DependencyObject target)
168
return target.GetValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
1149
"UndoManagerInstance", typeof(
UndoManager
), typeof(
UndoManager
), //
System\Windows\Controls\ComboBox.cs (1)
724
MS.Internal.Documents.
UndoManager
undoManager =
System\Windows\Controls\PasswordTextContainer.cs (1)
449
UndoManager
ITextContainer.UndoManager
System\Windows\Controls\Primitives\TextBoxBase.cs (20)
315
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
333
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
353
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
636
UndoManager
undoManager;
638
undoManager =
UndoManager
.GetUndoManager(this);
659
UndoManager
undoManager;
661
undoManager =
UndoManager
.GetUndoManager(this);
729
new FrameworkPropertyMetadata(
UndoManager
.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)),
1412
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1497
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1700
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1720
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1734
limit =
UndoManager
.UndoLimitDefaultValue;
System\Windows\Controls\TextBox.cs (1)
1674
UndoManager
undoManager = TextEditor._GetUndoManager();
System\Windows\Data\BindingExpressionBase.cs (1)
1317
MS.Internal.Documents.
UndoManager
undoManager = (tbb == null) ? null :
System\Windows\Documents\ChangeBlockUndoRecord.cs (3)
83
if (_parentUndoUnit.Container is
UndoManager
)
85
openedUnit = ((
UndoManager
)_parentUndoUnit.Container).OpenedUnit;
115
private readonly
UndoManager
_undoManager;
System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
38
UndoManager
undoManager;
43
undoManager = TopContainer as
UndoManager
;
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
275
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\FixedTextContainer.cs (1)
244
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\ImmComposition.cs (4)
1750
UndoManager
undoManager;
1754
undoManager =
UndoManager
.GetUndoManager(parent);
1781
UndoManager
undoManager;
1785
undoManager =
UndoManager
.GetUndoManager(parent);
System\Windows\Documents\ITextContainer.cs (1)
133
UndoManager
UndoManager { get; }
System\Windows\Documents\NullTextContainer.cs (1)
238
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\Run.cs (1)
282
UndoManager
undoManager = rtb.TextEditor._GetUndoManager();
System\Windows\Documents\TextContainer.cs (6)
179
MS.Internal.Documents.
UndoManager
.AttachUndoManager(uiScope, _undoManager);
186
Invariant.Assert(_undoManager == MS.Internal.Documents.
UndoManager
.GetUndoManager(uiScope));
188
MS.Internal.Documents.
UndoManager
.DetachUndoManager(uiScope);
1762
UndoManager
ITextContainer.UndoManager
1949
internal
UndoManager
UndoManager
3656
private
UndoManager
_undoManager;
System\windows\Documents\TextEditor.cs (9)
151
UndoManager
undoManager =
UndoManager
.GetUndoManager(_uiScope);
160
UndoManager
.DetachUndoManager(_uiScope);
573
UndoManager
undoManager = _GetUndoManager();
626
UndoManager
undoManager = _GetUndoManager();
1133
internal
UndoManager
_GetUndoManager()
1135
UndoManager
undoManager = null;
1883
UndoManager
undoManager = This._GetUndoManager();
1903
UndoManager
undoManager = This._GetUndoManager();
System\windows\Documents\TextEditorTyping.cs (2)
1792
UndoManager
undoManager = This._GetUndoManager();
1817
UndoManager
undoManager = This._GetUndoManager();
System\Windows\Documents\TextRangeEditTables.cs (1)
1765
UndoManager
undoManager = table.TextContainer.UndoManager;
System\Windows\Documents\TextStore.cs (21)
2326
UndoManager
undoManager =
UndoManager
.GetUndoManager(textEditor.TextContainer.Parent);
3116
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3542
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3591
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3607
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3629
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3865
private void SetFinalDocumentState(
UndoManager
undoManager, Stack imeChangeStack, int appChangeCount,
4009
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4038
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4061
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4107
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
System\Windows\Documents\TextTreeUndo.cs (7)
29
UndoManager
undoManager;
42
UndoManager
undoManager;
55
UndoManager
undoManager;
76
UndoManager
undoManager;
97
UndoManager
undoManager;
114
internal static
UndoManager
GetOrClearUndoManager(ITextContainer textContainer)
116
UndoManager
undoManager;
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
126
UndoManager
undoManager = TextTreeUndo.GetOrClearUndoManager(textContainer);