code:
<code>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Key1:" FontSize="20" Foreground="#73000000" TextWrapping="Wrap"/>
<Grid><TextBlock Text="Small Value1" FontSize="20" TextWrapping="Wrap" />
</Grid>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Key2:" FontSize="20" Foreground="#73000000" TextWrapping="Wrap"/>
<Grid>
<TextBlock Text="Long Long Long Long Long LongLongLong Long Long LongValue2" FontSize="20" TextWrapping="Wrap" />
</Grid>
</StackPanel>
</code>
Image screen shot:
I need to make the transfer of values to a new line if it is longer than the screen.
Try using Wrap whole word attribute