33 references to UndoState
PresentationFramework (33)
MS\Internal\Documents\UndoManager.cs (22)
75_state = UndoState.Normal; 261case UndoState.Normal: 262case UndoState.Redo: 272case UndoState.Undo: 282case UndoState.Rollback: 362SetState(UndoState.Rollback); 378SetState(UndoState.Normal); 389if (State != UndoState.Redo && State != UndoState.Undo && RedoStack.Count > 0) 437if (State == UndoState.Normal || State == UndoState.Redo) 460else if (State == UndoState.Undo) 464else if (State == UndoState.Rollback) 522if (State != UndoState.Normal) 534SetState(UndoState.Undo); 558SetState(UndoState.Normal); 587if (State != UndoState.Normal) 597SetState(UndoState.Redo); 620SetState(UndoState.Normal); 800internal UndoState State 1014protected void SetState(UndoState value) 1176private 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)))) 1424if (_textEditor.UndoState == UndoState.Redo) 1428else 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; 1092internal UndoState UndoState 2044private UndoState _undoState = UndoState.Normal;