I am developing a metroapp using XAML and C#, and I’m using localization where text will be dynamic and differ from language to language. My code is structured as below – TextBlock inside Border.
<Border>
<TextBlock Text="Foo">
</TextBlock>
</Border>
So is there any way to change the height and width of the Border or TextBlock according to the size of the text?
Please help me. Thanks in advance
Do did this: (tested it quickly, should work)