21 references to CaretScrollMethod
PresentationFramework (21)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
2094textBox.TextSelectionInternal.UpdateCaretState(CaretScrollMethod.None);
src\Framework\System\windows\Documents\CaretElement.cs (5)
196((TextSelection)_textEditor.Selection).UpdateCaretState(CaretScrollMethod.None); 243internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic, CaretScrollMethod scrollMethod, double scrollToOriginPosition) 333if (scrollMethod != CaretScrollMethod.None && !_scrolledToCurrentPositionYet) 354case CaretScrollMethod.Simple: 358case CaretScrollMethod.Navigation:
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
447_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic, CaretScrollMethod.None, /*wordWrappingPosition*/ double.NaN);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1276((TextSelection)This.Selection).UpdateCaretState(CaretScrollMethod.Simple);
src\Framework\System\windows\Documents\TextSelection.cs (13)
271UpdateCaretState(disableScroll ? CaretScrollMethod.None : CaretScrollMethod.Simple); 376EnsureCaret(isBlinkEnabled, isSelectionActive, CaretScrollMethod.None); 784UpdateCaretState(CaretScrollMethod.None); 1587internal void UpdateCaretState(CaretScrollMethod caretScrollMethod) 1589Invariant.Assert(caretScrollMethod != CaretScrollMethod.Unset); 1593caretScrollMethod = CaretScrollMethod.Navigation; 1597if (_caretScrollMethod == CaretScrollMethod.Unset) 1615else if (caretScrollMethod != CaretScrollMethod.None) 2090CaretScrollMethod caretScrollMethod = _caretScrollMethod; 2091_caretScrollMethod = CaretScrollMethod.Unset; 2426private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive, CaretScrollMethod scrollMethod) 2800private CaretScrollMethod _caretScrollMethod;