How to change textbox's background in specific positions of the text in silverlight?

52 Views Asked by At

I have a text box and I want that when the user clicks on some letter of the text,the letter's background will change. someone has any Idea of how to implement this?

Thank you.

1

There are 1 best solutions below

2
On

You can use the SelectionBackground property

<TextBox Height="25" Text="Sample Text" SelectionBackground="Red"/>