1 instantiation of UndoManager
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
189
_undoManager = new
UndoManager
();
111 references to UndoManager
PresentationFramework (111)
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (7)
126
UndoManager
undoManager;
166
undoManager = TopContainer as
UndoManager
;
189
if (TopContainer is
UndoManager
)
191
((
UndoManager
)TopContainer).OnNextDiscard();
339
UndoManager
topContainer;
343
topContainer = TopContainer as
UndoManager
;
465
if (!(value is IParentUndoUnit || value is
UndoManager
))
src\Framework\MS\Internal\Documents\UndoManager.cs (19)
110
internal static void AttachUndoManager(DependencyObject scope,
UndoManager
undoManager)
122
if (undoManager is
UndoManager
&& ((
UndoManager
)undoManager)._scope != null)
131
scope.SetValue(
UndoManager
.UndoManagerInstanceProperty, undoManager);
132
if (undoManager is
UndoManager
)
134
Debug.Assert(((
UndoManager
)undoManager)._scope == null);
135
((
UndoManager
)undoManager)._scope = scope;
152
UndoManager
undoManager;
160
undoManager = scope.ReadLocalValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
167
scope.ClearValue(
UndoManager
.UndoManagerInstanceProperty);
170
if (undoManager is
UndoManager
)
172
Debug.Assert(((
UndoManager
)undoManager)._scope == scope);
173
((
UndoManager
)undoManager)._scope = null;
186
internal static
UndoManager
GetUndoManager(DependencyObject target)
194
return target.GetValue(
UndoManager
.UndoManagerInstanceProperty) as
UndoManager
;
1191
"UndoManagerInstance", typeof(
UndoManager
), typeof(
UndoManager
), //
src\Framework\System\Windows\Controls\ComboBox.cs (1)
736
MS.Internal.Documents.
UndoManager
undoManager =
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
458
UndoManager
ITextContainer.UndoManager
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (20)
345
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
363
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
383
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
666
UndoManager
undoManager;
668
undoManager =
UndoManager
.GetUndoManager(this);
689
UndoManager
undoManager;
691
undoManager =
UndoManager
.GetUndoManager(this);
759
new FrameworkPropertyMetadata(
UndoManager
.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)),
1445
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1530
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1736
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1757
UndoManager
undoManager =
UndoManager
.GetUndoManager(this);
1771
limit =
UndoManager
.UndoLimitDefaultValue;
src\Framework\System\Windows\Controls\TextBox.cs (1)
1672
UndoManager
undoManager = TextEditor._GetUndoManager();
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1327
MS.Internal.Documents.
UndoManager
undoManager = (tbb == null) ? null :
src\Framework\System\Windows\Documents\ChangeBlockUndoRecord.cs (3)
85
if (_parentUndoUnit.Container is
UndoManager
)
87
openedUnit = ((
UndoManager
)_parentUndoUnit.Container).OpenedUnit;
117
private readonly
UndoManager
_undoManager;
src\Framework\System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
44
UndoManager
undoManager;
49
undoManager = TopContainer as
UndoManager
;
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
295
UndoManager
ITextContainer.UndoManager { get { return null; } }
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
264
UndoManager
ITextContainer.UndoManager { get { return null; } }
src\Framework\System\Windows\Documents\ImmComposition.cs (4)
1961
UndoManager
undoManager;
1965
undoManager =
UndoManager
.GetUndoManager(parent);
1992
UndoManager
undoManager;
1996
undoManager =
UndoManager
.GetUndoManager(parent);
src\Framework\System\Windows\Documents\ITextContainer.cs (1)
137
UndoManager
UndoManager { get; }
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
245
UndoManager
ITextContainer.UndoManager { get { return null; } }
src\Framework\System\Windows\Documents\Run.cs (1)
282
UndoManager
undoManager = rtb.TextEditor._GetUndoManager();
src\Framework\System\Windows\Documents\TextContainer.cs (6)
190
MS.Internal.Documents.
UndoManager
.AttachUndoManager(uiScope, _undoManager);
197
Invariant.Assert(_undoManager == MS.Internal.Documents.
UndoManager
.GetUndoManager(uiScope));
199
MS.Internal.Documents.
UndoManager
.DetachUndoManager(uiScope);
1782
UndoManager
ITextContainer.UndoManager
1969
internal
UndoManager
UndoManager
3677
private
UndoManager
_undoManager;
src\Framework\System\windows\Documents\TextEditor.cs (9)
172
UndoManager
undoManager =
UndoManager
.GetUndoManager(_uiScope);
181
UndoManager
.DetachUndoManager(_uiScope);
609
UndoManager
undoManager = _GetUndoManager();
662
UndoManager
undoManager = _GetUndoManager();
1169
internal
UndoManager
_GetUndoManager()
1171
UndoManager
undoManager = null;
1937
UndoManager
undoManager = This._GetUndoManager();
1957
UndoManager
undoManager = This._GetUndoManager();
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1831
UndoManager
undoManager = This._GetUndoManager();
1856
UndoManager
undoManager = This._GetUndoManager();
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1766
UndoManager
undoManager = table.TextContainer.UndoManager;
src\Framework\System\Windows\Documents\TextStore.cs (21)
2201
UndoManager
undoManager =
UndoManager
.GetUndoManager(textEditor.TextContainer.Parent);
3034
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3461
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3502
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3518
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3540
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3730
private void SetFinalDocumentState(
UndoManager
undoManager, Stack imeChangeStack, int appChangeCount,
3850
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3869
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3887
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
3933
UndoManager
undoManager =
UndoManager
.GetUndoManager(this.TextContainer.Parent);
src\Framework\System\Windows\Documents\TextTreeUndo.cs (7)
35
UndoManager
undoManager;
48
UndoManager
undoManager;
61
UndoManager
undoManager;
80
UndoManager
undoManager;
101
UndoManager
undoManager;
118
internal static
UndoManager
GetOrClearUndoManager(ITextContainer textContainer)
120
UndoManager
undoManager;
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
131
UndoManager
undoManager = TextTreeUndo.GetOrClearUndoManager(textContainer);