21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
2063
textBox.TextSelectionInternal.UpdateCaretState(
CaretScrollMethod
.None);
System\windows\Documents\CaretElement.cs (5)
193
((TextSelection)_textEditor.Selection).UpdateCaretState(
CaretScrollMethod
.None);
240
internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic,
CaretScrollMethod
scrollMethod, double scrollToOriginPosition)
330
if (scrollMethod !=
CaretScrollMethod
.None && !_scrolledToCurrentPositionYet)
351
case
CaretScrollMethod
.Simple:
355
case
CaretScrollMethod
.Navigation:
System\windows\Documents\TextEditorDragDrop.cs (1)
435
_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic,
CaretScrollMethod
.None, /*wordWrappingPosition*/ double.NaN);
System\windows\Documents\TextEditorTyping.cs (1)
1259
((TextSelection)This.Selection).UpdateCaretState(
CaretScrollMethod
.Simple);
System\windows\Documents\TextSelection.cs (13)
268
UpdateCaretState(disableScroll ?
CaretScrollMethod
.None :
CaretScrollMethod
.Simple);
373
EnsureCaret(isBlinkEnabled, isSelectionActive,
CaretScrollMethod
.None);
781
UpdateCaretState(
CaretScrollMethod
.None);
1584
internal void UpdateCaretState(
CaretScrollMethod
caretScrollMethod)
1586
Invariant.Assert(caretScrollMethod !=
CaretScrollMethod
.Unset);
1590
caretScrollMethod =
CaretScrollMethod
.Navigation;
1594
if (_caretScrollMethod ==
CaretScrollMethod
.Unset)
1612
else if (caretScrollMethod !=
CaretScrollMethod
.None)
2082
CaretScrollMethod
caretScrollMethod = _caretScrollMethod;
2083
_caretScrollMethod =
CaretScrollMethod
.Unset;
2418
private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive,
CaretScrollMethod
scrollMethod)
2787
private
CaretScrollMethod
_caretScrollMethod;