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