1 instantiation of UndoManager
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
183
_undoManager = new
UndoManager
();
111 references to UndoManager
PresentationFramework (111)
MS\Internal\Documents\ParentUndoUnit.cs (7)
117
UndoManager
undoManager;
154
undoManager = TopContainer as
UndoManager
;
177
if (TopContainer is
UndoManager
)
179
((
UndoManager
)TopContainer).OnNextDiscard();
324
UndoManager
topContainer;
328
topContainer = TopContainer as
UndoManager
;
450
if (!(value is IParentUndoUnit || value is
UndoManager
))
MS\Internal\Documents\UndoManager.cs (19)
103
internal static void AttachUndoManager(DependencyObject scope,
UndoManager
undoManager)
108
if (undoManager is
UndoManager
&& ((
UndoManager
)undoManager)._scope != null)
117
scope.SetValue(
UndoManager
.UndoManagerInstanceProperty, undoManager);
118
if (undoManager is
UndoManager
)
120
Debug.Assert(((
UndoManager
)undoManager)._scope == null);
121
((
UndoManager
)undoManager)._scope = scope;
138
UndoManager
undoManager;
143
undoManager = scope.ReadLocalValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
150
scope.ClearValue(
UndoManager
.UndoManagerInstanceProperty);
153
if (undoManager is
UndoManager
)
155
Debug.Assert(((
UndoManager
)undoManager)._scope == scope);
156
((
UndoManager
)undoManager)._scope = null;
169
internal static
UndoManager
GetUndoManager(DependencyObject target)
177
return target.GetValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
1158
"UndoManagerInstance", typeof(
UndoManager
), typeof(
UndoManager
), //
System\Windows\Controls\ComboBox.cs (1)
734
MS.Internal.Documents.
UndoManager
undoManager =
System\Windows\Controls\PasswordTextContainer.cs (1)
452
UndoManager
ITextContainer.UndoManager
System\Windows\Controls\Primitives\TextBoxBase.cs (20)
322
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
340
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
360
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
643
UndoManager
undoManager;
645
undoManager =
UndoManager
.GetUndoManager(this);
666
UndoManager
undoManager;
668
undoManager =
UndoManager
.GetUndoManager(this);
736
new FrameworkPropertyMetadata(
UndoManager
.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)),
1419
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1504
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1707
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1727
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1741
limit =
UndoManager
.UndoLimitDefaultValue;
System\Windows\Controls\TextBox.cs (1)
1679
UndoManager
undoManager = TextEditor._GetUndoManager();
System\Windows\Data\BindingExpressionBase.cs (1)
1325
MS.Internal.Documents.
UndoManager
undoManager = (tbb == null) ? null :
System\Windows\Documents\ChangeBlockUndoRecord.cs (3)
85
if (_parentUndoUnit.Container is
UndoManager
)
87
openedUnit = ((
UndoManager
)_parentUndoUnit.Container).OpenedUnit;
117
private readonly
UndoManager
_undoManager;
System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
38
UndoManager
undoManager;
43
undoManager = TopContainer as
UndoManager
;
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
291
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\FixedTextContainer.cs (1)
260
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\ImmComposition.cs (4)
1771
UndoManager
undoManager;
1775
undoManager =
UndoManager
.GetUndoManager(parent);
1802
UndoManager
undoManager;
1806
undoManager =
UndoManager
.GetUndoManager(parent);
System\Windows\Documents\ITextContainer.cs (1)
134
UndoManager
UndoManager { get; }
System\Windows\Documents\NullTextContainer.cs (1)
242
UndoManager
ITextContainer.UndoManager { get { return null; } }
System\Windows\Documents\Run.cs (1)
282
UndoManager
undoManager = rtb.TextEditor._GetUndoManager();
System\Windows\Documents\TextContainer.cs (6)
184
MS.Internal.Documents.
UndoManager
.AttachUndoManager(uiScope, _undoManager);
191
Invariant.Assert(_undoManager == MS.Internal.Documents.
UndoManager
.GetUndoManager(uiScope));
193
MS.Internal.Documents.
UndoManager
.DetachUndoManager(uiScope);
1767
UndoManager
ITextContainer.UndoManager
1954
internal
UndoManager
UndoManager
3661
private
UndoManager
_undoManager;
System\windows\Documents\TextEditor.cs (9)
162
UndoManager
undoManager =
UndoManager
.GetUndoManager(_uiScope);
171
UndoManager
.DetachUndoManager(_uiScope);
582
UndoManager
undoManager = _GetUndoManager();
635
UndoManager
undoManager = _GetUndoManager();
1142
internal
UndoManager
_GetUndoManager()
1144
UndoManager
undoManager = null;
1892
UndoManager
undoManager = This._GetUndoManager();
1912
UndoManager
undoManager = This._GetUndoManager();
System\windows\Documents\TextEditorTyping.cs (2)
1801
UndoManager
undoManager = This._GetUndoManager();
1826
UndoManager
undoManager = This._GetUndoManager();
System\Windows\Documents\TextRangeEditTables.cs (1)
1763
UndoManager
undoManager = table.TextContainer.UndoManager;
System\Windows\Documents\TextStore.cs (21)
2337
UndoManager
undoManager =
UndoManager
.GetUndoManager(textEditor.TextContainer.Parent);
3125
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3551
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3600
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3616
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3638
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3874
private void SetFinalDocumentState(
UndoManager
undoManager, Stack imeChangeStack, int appChangeCount,
4018
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4047
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4070
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
4116
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
System\Windows\Documents\TextTreeUndo.cs (7)
29
UndoManager
undoManager;
42
UndoManager
undoManager;
55
UndoManager
undoManager;
74
UndoManager
undoManager;
95
UndoManager
undoManager;
112
internal static
UndoManager
GetOrClearUndoManager(ITextContainer textContainer)
114
UndoManager
undoManager;
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
128
UndoManager
undoManager = TextTreeUndo.GetOrClearUndoManager(textContainer);