6
Answers

WPF Richtextbox how to select text in programmatically

Kaushik Bhatt

Kaushik Bhatt

3y
1.6k
1

I want to select text in richtextbox from  position and length in WPF.

for example : In richtextbox  in text like : I am testing this thing.

  and  My startposition is =5; and lenght =3;

then richtextbox selection highlight  like this: I am testing this thing.

Answers (6)