21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
2054textBox.TextSelectionInternal.UpdateCaretState(CaretScrollMethod.None);
System\windows\Documents\CaretElement.cs (5)
190((TextSelection)_textEditor.Selection).UpdateCaretState(CaretScrollMethod.None); 237internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic, CaretScrollMethod scrollMethod, double scrollToOriginPosition) 327if (scrollMethod != CaretScrollMethod.None && !_scrolledToCurrentPositionYet) 348case CaretScrollMethod.Simple: 352case CaretScrollMethod.Navigation:
System\windows\Documents\TextEditorDragDrop.cs (1)
418_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic, CaretScrollMethod.None, /*wordWrappingPosition*/ double.NaN);
System\windows\Documents\TextEditorTyping.cs (1)
1250((TextSelection)This.Selection).UpdateCaretState(CaretScrollMethod.Simple);
System\windows\Documents\TextSelection.cs (13)
265UpdateCaretState(disableScroll ? CaretScrollMethod.None : CaretScrollMethod.Simple); 370EnsureCaret(isBlinkEnabled, isSelectionActive, CaretScrollMethod.None); 778UpdateCaretState(CaretScrollMethod.None); 1581internal void UpdateCaretState(CaretScrollMethod caretScrollMethod) 1583Invariant.Assert(caretScrollMethod != CaretScrollMethod.Unset); 1587caretScrollMethod = CaretScrollMethod.Navigation; 1591if (_caretScrollMethod == CaretScrollMethod.Unset) 1609else if (caretScrollMethod != CaretScrollMethod.None) 2079CaretScrollMethod caretScrollMethod = _caretScrollMethod; 2080_caretScrollMethod = CaretScrollMethod.Unset; 2415private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive, CaretScrollMethod scrollMethod) 2784private CaretScrollMethod _caretScrollMethod;