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