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