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