Hi Khiem,
You can bind the
TextBlock.
Text property to a business property in order to control its value. If the text will display the value of the
SelectionStart/SelectionEnd properties, then you can bind those properties to the same business property as well.
I attached a sample solution to better illustrate this suggestion. Give it a try and let me know if it helps.
Kind regards,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>