26 references to UndoAction
PresentationFramework (26)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (14)
669
if (undoManager != null && (_pendingUndoAction !=
UndoAction
.Clear &&
671
(undoManager.State != UndoState.Undo && _pendingUndoAction ==
UndoAction
.Create))))
692
if (undoManager != null && (_pendingUndoAction !=
UndoAction
.Clear &&
694
(undoManager.State == UndoState.Undo && _pendingUndoAction ==
UndoAction
.Create))))
1447
UndoAction
undoAction;
1452
undoAction =
UndoAction
.Redo;
1456
undoAction =
UndoAction
.Undo;
1460
undoAction =
UndoAction
.Clear;
1464
undoAction =
UndoAction
.Merge;
1468
undoAction =
UndoAction
.Create;
1473
undoAction =
UndoAction
.Create;
1487
_pendingUndoAction =
UndoAction
.None;
1848
internal
UndoAction
PendingUndoAction
2292
private
UndoAction
_pendingUndoAction;
src\Framework\System\Windows\Controls\RichTextBox.cs (4)
455
Invariant.Assert(this.PendingUndoAction ==
UndoAction
.None);
456
this.PendingUndoAction =
UndoAction
.Clear;
459
this.OnTextChanged(new TextChangedEventArgs(TextChangedEvent,
UndoAction
.Clear));
463
this.PendingUndoAction =
UndoAction
.None;
src\Framework\System\Windows\Controls\TextBox.cs (1)
1305
OnTextChanged(new TextChangedEventArgs(TextChangedEvent,
UndoAction
.None));
src\Framework\System\Windows\Controls\TextChangedEventArgs.cs (7)
77
public TextChangedEventArgs(RoutedEvent id,
UndoAction
action, ICollection<TextChange> changes) : base()
84
if (action <
UndoAction
.None || action >
UndoAction
.Create)
86
throw new InvalidEnumArgumentException("action", (int)action, typeof(
UndoAction
));
99
public TextChangedEventArgs(RoutedEvent id,
UndoAction
action)
108
public
UndoAction
UndoAction
171
private
UndoAction
_undoAction;