Select and copy text from TextBlock elements
I know that what we really need is a FlowDocument control, with Select+Copy support, but until that arrives, it would be very useful to be able to select and copy text from TextBlock controls.
Weather or not this is possible, should be set as an Attribute on the element (SelectAndCopy="True"), - Thereby enabling texblocks to act like labels and/or HTML-like paragraphs ...
6 comments
-
Anton Swanevelder
commented
All the right click options should really be supported. Users constantly asks about the ability to right click and print or save a image etc.
-
Anonymous
commented
Not just TextBlock, but like IE where I can select any rectangular area and everything in the area is selected and copied to Clipboard.
-
dreamwang
commented
Basic
-
Bobby Diaz commented
I just blogged about a work around I came up with a while back that gives you a pseudo-selectable TextBlock. Check it out and let me know what you think:
Hope that helps!
Bobby -
fuzzyman
commented
We *need* FlowDocument - with selectable copyable text...
-
oliverrc
commented
I totally agree. It would be great if any text in a silverlight application was selectable like normal html. To go one step further making the Silverlight searchable would also improve it.