33 references to UndoState
PresentationFramework (33)
MS\Internal\Documents\UndoManager.cs (22)
66_state = UndoState.Normal; 252case UndoState.Normal: 253case UndoState.Redo: 263case UndoState.Undo: 273case UndoState.Rollback: 353SetState(UndoState.Rollback); 369SetState(UndoState.Normal); 380if (State != UndoState.Redo && State != UndoState.Undo && RedoStack.Count > 0) 428if (State == UndoState.Normal || State == UndoState.Redo) 451else if (State == UndoState.Undo) 455else if (State == UndoState.Rollback) 513if (State != UndoState.Normal) 525SetState(UndoState.Undo); 549SetState(UndoState.Normal); 578if (State != UndoState.Normal) 588SetState(UndoState.Redo); 611SetState(UndoState.Normal); 791internal UndoState State 1005protected void SetState(UndoState value) 1167private 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)))) 1417if (_textEditor.UndoState == UndoState.Redo) 1421else 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; 1083internal UndoState UndoState 2035private UndoState _undoState = UndoState.Normal;