My question below is answered but I just realised that now the Fontsize only resizes in one direction.
Is there a possibility to bind two paths? Or another option?
Previous question I have a Grid [20,20] with Textboxes in it. In these TextBoxes I put numbers. When the application starts up it's fullscreen. If I resize the window the Grid with the Texboxes also resizes. But the Font stays the same. So I want to change the fontsize when the Window resizes. I tried FontSize="{Binding ElementName=aTextBox, Path=Height}" between the TextBox tags. But that doesn't work. A binding with the Grid or Window with property Height or Width didn't work either. With binding to a slider the fontsize changes according to the the value of the slider. Does anybody have a nice solution?