Is it possible to allow a user to select text in a silverlight text block (not text box) as they would be able to in any HTML page?
How to select text in silverlight 3.0 text block
silverlightsilverlight-3.0
silverlightsilverlight-3.0
Is it possible to allow a user to select text in a silverlight text block (not text box) as they would be able to in any HTML page?
Best Answer
I later found a solution, and I wanted to share it. The solution can be found here.
Excerpt from that page:
...change the textbox's style. Put the following Xaml code in App.xaml or some other resource:
Then set your textbox's style as "{StaticResource TextBoxStyle}", and set IsReadOnly property as true, your textbox will look like a textblock but it can be copied.