July 7, 2014

SelectableTextBlock in JungleControls

SelectableTextBlock control in JungleControls library is like the standard TextBlock control except it allows text to be selected with the mouse.

Sample XAML:
<jc:SelectableTextBlock xmlns:jc="clr-namespace:JungleControls;assembly=JungleControls" Text="Some text" />

It is internally implemented as restyled TextBox, which means that some advanced properties of TextBlock are missing. Most basic formatting is however available as can be seen from the screenshot above.

No comments:

Post a Comment