Kaushik Bhatt

Kaushik Bhatt

  • NA
  • 48
  • 2.6k

WPF Richtextbox how to select text in programmatically

Jun 9 2021 5:05 AM

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)