26 references to UndoAction
PresentationFramework (26)
System\Windows\Controls\Primitives\TextBoxBase.cs (14)
637if (undoManager != null && (_pendingUndoAction != UndoAction.Clear && 639(undoManager.State != UndoState.Undo && _pendingUndoAction == UndoAction.Create)))) 660if (undoManager != null && (_pendingUndoAction != UndoAction.Clear && 662(undoManager.State == UndoState.Undo && _pendingUndoAction == UndoAction.Create)))) 1412UndoAction undoAction; 1417undoAction = UndoAction.Redo; 1421undoAction = UndoAction.Undo; 1425undoAction = UndoAction.Clear; 1429undoAction = UndoAction.Merge; 1433undoAction = UndoAction.Create; 1438undoAction = UndoAction.Create; 1452_pendingUndoAction = UndoAction.None; 1808internal UndoAction PendingUndoAction 2247private UndoAction _pendingUndoAction;
System\Windows\Controls\RichTextBox.cs (4)
440Invariant.Assert(this.PendingUndoAction == UndoAction.None); 441this.PendingUndoAction = UndoAction.Clear; 444this.OnTextChanged(new TextChangedEventArgs(TextChangedEvent, UndoAction.Clear)); 448this.PendingUndoAction = UndoAction.None;
System\Windows\Controls\TextBox.cs (1)
1306OnTextChanged(new TextChangedEventArgs(TextChangedEvent, UndoAction.None));
System\Windows\Controls\TextChangedEventArgs.cs (7)
69public TextChangedEventArgs(RoutedEvent id, UndoAction action, ICollection<TextChange> changes) : base() 73if (action < UndoAction.None || action > UndoAction.Create) 75throw new InvalidEnumArgumentException("action", (int)action, typeof(UndoAction)); 88public TextChangedEventArgs(RoutedEvent id, UndoAction action) 97public UndoAction UndoAction 160private UndoAction _undoAction;