21 references to CaretScrollMethod
PresentationFramework (21)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1983
textBox.TextSelectionInternal.UpdateCaretState(
CaretScrollMethod
.None);
System\windows\Documents\CaretElement.cs (5)
188
((TextSelection)_textEditor.Selection).UpdateCaretState(
CaretScrollMethod
.None);
235
internal void Update(bool visible, Rect caretRectangle, Brush caretBrush, double opacity, bool italic,
CaretScrollMethod
scrollMethod, double scrollToOriginPosition)
325
if (scrollMethod !=
CaretScrollMethod
.None && !_scrolledToCurrentPositionYet)
346
case
CaretScrollMethod
.Simple:
350
case
CaretScrollMethod
.Navigation:
System\windows\Documents\TextEditorDragDrop.cs (1)
417
_caretDragDrop.Update(/*visible:*/true, caretRectangle, caretBrush, 0.5, italic,
CaretScrollMethod
.None, /*wordWrappingPosition*/ double.NaN);
System\windows\Documents\TextEditorTyping.cs (1)
1240
((TextSelection)This.Selection).UpdateCaretState(
CaretScrollMethod
.Simple);
System\windows\Documents\TextSelection.cs (13)
252
UpdateCaretState(disableScroll ?
CaretScrollMethod
.None :
CaretScrollMethod
.Simple);
357
EnsureCaret(isBlinkEnabled, isSelectionActive,
CaretScrollMethod
.None);
762
UpdateCaretState(
CaretScrollMethod
.None);
1565
internal void UpdateCaretState(
CaretScrollMethod
caretScrollMethod)
1567
Invariant.Assert(caretScrollMethod !=
CaretScrollMethod
.Unset);
1571
caretScrollMethod =
CaretScrollMethod
.Navigation;
1575
if (_caretScrollMethod ==
CaretScrollMethod
.Unset)
1593
else if (caretScrollMethod !=
CaretScrollMethod
.None)
2063
CaretScrollMethod
caretScrollMethod = _caretScrollMethod;
2064
_caretScrollMethod =
CaretScrollMethod
.Unset;
2399
private CaretElement EnsureCaret(bool isBlinkEnabled, bool isSelectionActive,
CaretScrollMethod
scrollMethod)
2770
private
CaretScrollMethod
_caretScrollMethod;