5
Shouts

Trimmed TextBlock for Silverlight.

published 1182 days, 16 hours, 40 minutes ago posted by http://rredcat.blogspot.com/http://rredcat.blogspot.com/ 1183 days, 8 hours, 34 minutes ago
Thursday, March 25, 2010 12:24:40 PM GMT Wednesday, March 24, 2010 8:31:25 PM GMT

Download source files - here

Not always Silverlight TextBlock that contains long text has enough space for shows all this text. TextBlock clips text in this case - this behaviour isn't best way for this. Because I wait that TextBlock not only trims but also adds "..." to clipped text. WPF has brilliant property that helps to resolve this trouble - TextTrimming. I implemented this possibility for Silverlight and now want to present it for you. Furthermore I implemented ToolTip that shows trimmed text...

category: Metro | clicked: 1 | | source: rredcat.blogspot.com | show counter code
tags: Silverlight, Trimmed, TrimmedTextBlock