How to go to a specific line in a RichTextBox?

I am looking for sample code on how to go to a specific RichTextBox line in WPF. I do not know how to do this, in winForms it is very simple, because I can freely set SelectionStart and SelectionLength, which, unlike WPF, equivalent properties are read only. any help is much appreciated. Thanks in advance.

+4
source share
1 answer

There are several options in the API:

+2
source

Source: https://habr.com/ru/post/1393084/


All Articles