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