I have textboxes in a Grid with numbers in it. If I resize the window I want to change the fontsize too.
This code works with the actual height of the textbox.
< TextBox FontSize="{Binding Path=ActualHeight, RelativeSource={RelativeSource Self}, Converter={StaticResource HeightToFontSizeConverter}}" Text="12345"/>
But now the Fontsize only resizes in one direction.
Is there a possibility to bind two paths? Or another option?
Thank you.