Answer the question
In order to leave comments, you need to log in
How to determine the height from the origin of the Grid to the end of the window?
This determines the height of the entire window, but since the Grid does not start from the origin, it climbs out of the window.
<Grid Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Window}}, Path=ActualHeight}">
Answer the question
In order to leave comments, you need to log in
This is not an answer, but advice.
Use a Grid so that it takes up all the free space and just restrict it to other elements. In this way, you will achieve responsive design and everything will be easier.
It's even better not to set fixed dimensions, it's better to only limit (MinHeight MaxHeight)
https://www.youtube.com/watch?v=D2IrpRkd11g
MultiBinding + MultiValueConverter
https://www.codeproject.com/Articles/328978/Introd...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question