21 references to CaretScrollMethod
PresentationFramework (21)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
2094
textBox.TextSelectionInternal.UpdateCaretState(
CaretScrollMethod
.None);
src\Framework\System\windows\Documents\CaretElement.cs (5)
196
((TextSelection)_textEditor.Selection).UpdateCaretState(
CaretScrollMethod
.None);
243
internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic,
CaretScrollMethod
scrollMethod, double scrollToOriginPosition)
333
if (scrollMethod !=
CaretScrollMethod
.None && !_scrolledToCurrentPositionYet)
354
case
CaretScrollMethod
.Simple:
358
case
CaretScrollMethod
.Navigation:
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
447
_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic,
CaretScrollMethod
.None, /*wordWrappingPosition*/ double.NaN);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1276
((TextSelection)This.Selection).UpdateCaretState(
CaretScrollMethod
.Simple);
src\Framework\System\windows\Documents\TextSelection.cs (13)
271
UpdateCaretState(disableScroll ?
CaretScrollMethod
.None :
CaretScrollMethod
.Simple);
376
EnsureCaret(isBlinkEnabled, isSelectionActive,
CaretScrollMethod
.None);
784
UpdateCaretState(
CaretScrollMethod
.None);
1587
internal void UpdateCaretState(
CaretScrollMethod
caretScrollMethod)
1589
Invariant.Assert(caretScrollMethod !=
CaretScrollMethod
.Unset);
1593
caretScrollMethod =
CaretScrollMethod
.Navigation;
1597
if (_caretScrollMethod ==
CaretScrollMethod
.Unset)
1615
else if (caretScrollMethod !=
CaretScrollMethod
.None)
2090
CaretScrollMethod
caretScrollMethod = _caretScrollMethod;
2091
_caretScrollMethod =
CaretScrollMethod
.Unset;
2426
private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive,
CaretScrollMethod
scrollMethod)
2800
private
CaretScrollMethod
_caretScrollMethod;