33 references to UndoState
PresentationFramework (33)
src\Framework\MS\Internal\Documents\UndoManager.cs (22)
82
_state =
UndoState
.Normal;
284
case
UndoState
.Normal :
285
case
UndoState
.Redo :
295
case
UndoState
.Undo :
305
case
UndoState
.Rollback :
388
SetState(
UndoState
.Rollback);
404
SetState(
UndoState
.Normal);
415
if (State !=
UndoState
.Redo && State !=
UndoState
.Undo && RedoStack.Count > 0)
466
if (State ==
UndoState
.Normal || State ==
UndoState
.Redo)
489
else if (State ==
UndoState
.Undo)
493
else if (State ==
UndoState
.Rollback)
553
if (State !=
UndoState
.Normal)
565
SetState(
UndoState
.Undo);
589
SetState(
UndoState
.Normal);
620
if (State !=
UndoState
.Normal)
630
SetState(
UndoState
.Redo);
653
SetState(
UndoState
.Normal);
833
internal
UndoState
State
1047
protected void SetState(
UndoState
value)
1209
private
UndoState
_state;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (4)
671
(undoManager.State !=
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
694
(undoManager.State ==
UndoState
.Undo && _pendingUndoAction == UndoAction.Create))))
1450
if (_textEditor.UndoState ==
UndoState
.Redo)
1454
else if (_textEditor.UndoState ==
UndoState
.Undo)
src\Framework\System\windows\Documents\TextEditor.cs (7)
592
_undoState =
UndoState
.Undo;
635
_undoState =
UndoState
.Normal;
653
_undoState =
UndoState
.Redo;
688
_undoState =
UndoState
.Normal;
1119
internal
UndoState
UndoState
2095
private
UndoState
_undoState =
UndoState
.Normal;