Text viewing in a delimited space
- by Maurizio Reginelli
I need to visualize a text into a delimited space. If I add a simple TextBlock I have a problem: when the text is longer than the available space, it is cropped at the end. I tried to insert the TextBlock inside a Viewbox: this solution works for a text longer than the available space, but increase the size of the text when it is shorter.
Is there a way to reduce the size of the text only when it is longer than the available space?