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