Software Development Network>> Visual Studio>> How to make text markable
Is there any way to make the text on a TextBlock or Label markable with the mouse
Thanks!
You could change the template of these controls.
The other way is to use a readonly textbox.
the template would be basically be similar to that of textbox which is readonly and no border.
Textbox template: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wpf_conceptual/html/aa99130c-43a1-450f-9b46-c40ae0db0cca.asp
you might need to modify that to meet your requirements
lester - MSFT wrote: You could change the template of these controls. The other way is to use a readonly textbox.
How would I go about changing the template of a TextBlock to make it's content markable
Thanks
How to make text markable
Chris Dooley
You could change the template of these controls.
The other way is to use a readonly textbox.
Khan
the template would be basically be similar to that of textbox which is readonly and no border.
Textbox template: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wpf_conceptual/html/aa99130c-43a1-450f-9b46-c40ae0db0cca.asp
you might need to modify that to meet your requirements
BlisteringIce
How would I go about changing the template of a TextBlock to make it's content markable
Thanks