21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1984textBox.TextSelectionInternal.UpdateCaretState(CaretScrollMethod.None);
System\windows\Documents\CaretElement.cs (5)
189((TextSelection)_textEditor.Selection).UpdateCaretState(CaretScrollMethod.None); 236internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic, CaretScrollMethod scrollMethod, double scrollToOriginPosition) 326if (scrollMethod != CaretScrollMethod.None && !_scrolledToCurrentPositionYet) 347case CaretScrollMethod.Simple: 351case 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)
1241((TextSelection)This.Selection).UpdateCaretState(CaretScrollMethod.Simple);
System\windows\Documents\TextSelection.cs (13)
253UpdateCaretState(disableScroll ? CaretScrollMethod.None : CaretScrollMethod.Simple); 358EnsureCaret(isBlinkEnabled, isSelectionActive, CaretScrollMethod.None); 763UpdateCaretState(CaretScrollMethod.None); 1566internal void UpdateCaretState(CaretScrollMethod caretScrollMethod) 1568Invariant.Assert(caretScrollMethod != CaretScrollMethod.Unset); 1572caretScrollMethod = CaretScrollMethod.Navigation; 1576if (_caretScrollMethod == CaretScrollMethod.Unset) 1594else if (caretScrollMethod != CaretScrollMethod.None) 2064CaretScrollMethod caretScrollMethod = _caretScrollMethod; 2065_caretScrollMethod = CaretScrollMethod.Unset; 2400private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive, CaretScrollMethod scrollMethod) 2771private CaretScrollMethod _caretScrollMethod;