Possible Duplicate:
Any way to make a WPF textblock selectable?
Can I make a textblock selectable in WPF application so that a user can copy it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could just make it into a TextBox that’s Read Only which just looks like a TextBlock, kind of like;
The ScrollViewer ContentElement would be in a TextBox by default, you could substitute for a ContentPresenter instead if you like also.
Then put it into effect;
Hope this helps!
ADDENDUM: As @doodleus pointed out in the comments. Template binding the Content Property within the template may be necessary. As “ContentElement” is a named part of the Silverlight TextBox control. One of the little nuance differences to watch for in the different xaml Variants. I must not have paid attention to the Tags when I originally created the example. So kudos to him for correcting me.