I have Textboxes in Gridwith numbers in it. If I resized the window, I also want to resize FontSize.
This code works with actual height Textbox:
<TextBox FontSize="{Binding Path=ActualHeight, RelativeSource={RelativeSource Self},
Converter={StaticResource HeightToFontSizeConverter}}" Text="12345"/>
But now it is FontSizechanging in only one direction.
Is it possible to connect the two paths? Or another option?
Thanks.
source
share