21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1983textBox.TextSelectionInternal.UpdateCaretState(CaretScrollMethod.None);
System\windows\Documents\CaretElement.cs (5)
188((TextSelection)_textEditor.Selection).UpdateCaretState(CaretScrollMethod.None); 235internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic, CaretScrollMethod scrollMethod, double scrollToOriginPosition) 325if (scrollMethod != CaretScrollMethod.None && !_scrolledToCurrentPositionYet) 346case CaretScrollMethod.Simple: 350case CaretScrollMethod.Navigation:
System\windows\Documents\TextEditorDragDrop.cs (1)
417_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic, CaretScrollMethod.None, /*wordWrappingPosition*/ double.NaN);
System\windows\Documents\TextEditorTyping.cs (1)
1240((TextSelection)This.Selection).UpdateCaretState(CaretScrollMethod.Simple);
System\windows\Documents\TextSelection.cs (13)
252UpdateCaretState(disableScroll ? CaretScrollMethod.None : CaretScrollMethod.Simple); 357EnsureCaret(isBlinkEnabled, isSelectionActive, CaretScrollMethod.None); 762UpdateCaretState(CaretScrollMethod.None); 1565internal void UpdateCaretState(CaretScrollMethod caretScrollMethod) 1567Invariant.Assert(caretScrollMethod != CaretScrollMethod.Unset); 1571caretScrollMethod = CaretScrollMethod.Navigation; 1575if (_caretScrollMethod == CaretScrollMethod.Unset) 1593else if (caretScrollMethod != CaretScrollMethod.None) 2063CaretScrollMethod caretScrollMethod = _caretScrollMethod; 2064_caretScrollMethod = CaretScrollMethod.Unset; 2399private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive, CaretScrollMethod scrollMethod) 2770private CaretScrollMethod _caretScrollMethod;