I have a simple Grid
with an Image
on the left side and a TextBlock
on the right, each contained by a ViewBox
to handle scaling. The ViewBox.Height
containing the TextBlock
is bound to Image.ActualHeight
. Here is what I get:
But what I actually want to achieve is that TextBlock.FontSize
is automatically adjusted, so that all available vertical space is used and its content wraps. So it should rather look about like that:
How can I achieve that?