21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
2063textBox.TextSelectionInternal.UpdateCaretState(CaretScrollMethod.None);
System\windows\Documents\CaretElement.cs (5)
193((TextSelection)_textEditor.Selection).UpdateCaretState(CaretScrollMethod.None); 240internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic, CaretScrollMethod scrollMethod, double scrollToOriginPosition) 330if (scrollMethod != CaretScrollMethod.None && !_scrolledToCurrentPositionYet) 351case CaretScrollMethod.Simple: 355case CaretScrollMethod.Navigation:
System\windows\Documents\TextEditorDragDrop.cs (1)
435_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic, CaretScrollMethod.None, /*wordWrappingPosition*/ double.NaN);
System\windows\Documents\TextEditorTyping.cs (1)
1259((TextSelection)This.Selection).UpdateCaretState(CaretScrollMethod.Simple);
System\windows\Documents\TextSelection.cs (13)
268UpdateCaretState(disableScroll ? CaretScrollMethod.None : CaretScrollMethod.Simple); 373EnsureCaret(isBlinkEnabled, isSelectionActive, CaretScrollMethod.None); 781UpdateCaretState(CaretScrollMethod.None); 1584internal void UpdateCaretState(CaretScrollMethod caretScrollMethod) 1586Invariant.Assert(caretScrollMethod != CaretScrollMethod.Unset); 1590caretScrollMethod = CaretScrollMethod.Navigation; 1594if (_caretScrollMethod == CaretScrollMethod.Unset) 1612else if (caretScrollMethod != CaretScrollMethod.None) 2082CaretScrollMethod caretScrollMethod = _caretScrollMethod; 2083_caretScrollMethod = CaretScrollMethod.Unset; 2418private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive, CaretScrollMethod scrollMethod) 2787private CaretScrollMethod _caretScrollMethod;