33 references to UndoState
PresentationFramework (33)
MS\Internal\Documents\UndoManager.cs (22)
66
_state =
UndoState
.Normal;
252
case
UndoState
.Normal:
253
case
UndoState
.Redo:
263
case
UndoState
.Undo:
273
case
UndoState
.Rollback:
353
SetState(
UndoState
.Rollback);
369
SetState(
UndoState
.Normal);
380
if (State !=
UndoState
.Redo && State !=
UndoState
.Undo && RedoStack.Count > 0)
428
if (State ==
UndoState
.Normal || State ==
UndoState
.Redo)
451
else if (State ==
UndoState
.Undo)
455
else if (State ==
UndoState
.Rollback)
513
if (State !=
UndoState
.Normal)
525
SetState(
UndoState
.Undo);
549
SetState(
UndoState
.Normal);
578
if (State !=
UndoState
.Normal)
588
SetState(
UndoState
.Redo);
611
SetState(
UndoState
.Normal);
791
internal
UndoState
State
1005
protected void SetState(
UndoState
value)
1167
private
UndoState
_state;
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
641
(undoManager.State !=
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
664
(undoManager.State ==
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
1417
if (_textEditor.UndoState ==
UndoState
.Redo)
1421
else if (_textEditor.UndoState ==
UndoState
.Undo)
System\windows\Documents\TextEditor.cs (7)
556
_undoState =
UndoState
.Undo;
599
_undoState =
UndoState
.Normal;
617
_undoState =
UndoState
.Redo;
652
_undoState =
UndoState
.Normal;
1083
internal
UndoState
UndoState
2035
private
UndoState
_undoState =
UndoState
.Normal;