Skip to main content
A newer version of this page is available. .

RichEditControl.ScrollToCaret() Method

Scrolls the document to the caret position.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public void ScrollToCaret()

Remarks

This method shows the cursor location to the user. To get the caret position programmatically, use the Document.CaretPosition property.

See Also