33 references to UndoState
PresentationFramework (33)
MS\Internal\Documents\UndoManager.cs (22)
75
_state =
UndoState
.Normal;
261
case
UndoState
.Normal:
262
case
UndoState
.Redo:
272
case
UndoState
.Undo:
282
case
UndoState
.Rollback:
362
SetState(
UndoState
.Rollback);
378
SetState(
UndoState
.Normal);
389
if (State !=
UndoState
.Redo && State !=
UndoState
.Undo && RedoStack.Count > 0)
437
if (State ==
UndoState
.Normal || State ==
UndoState
.Redo)
460
else if (State ==
UndoState
.Undo)
464
else if (State ==
UndoState
.Rollback)
522
if (State !=
UndoState
.Normal)
534
SetState(
UndoState
.Undo);
558
SetState(
UndoState
.Normal);
587
if (State !=
UndoState
.Normal)
597
SetState(
UndoState
.Redo);
620
SetState(
UndoState
.Normal);
800
internal
UndoState
State
1014
protected void SetState(
UndoState
value)
1176
private
UndoState
_state;
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
648
(undoManager.State !=
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
671
(undoManager.State ==
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
1424
if (_textEditor.UndoState ==
UndoState
.Redo)
1428
else if (_textEditor.UndoState ==
UndoState
.Undo)
System\windows\Documents\TextEditor.cs (7)
565
_undoState =
UndoState
.Undo;
608
_undoState =
UndoState
.Normal;
626
_undoState =
UndoState
.Redo;
661
_undoState =
UndoState
.Normal;
1092
internal
UndoState
UndoState
2044
private
UndoState
_undoState =
UndoState
.Normal;