Вот мой макет.
<Window>
<StackPanel Orientation="Vertical">
<StackPanel HorizontalAlignment="Stretch" Height="30">
</StackPanel>
<Canvas HorizontalAlignment="Center" Width="1020">
<!--i want this to take the remaining full height of the screen-->
<Canvas x:Name="bottomInfoBar" Canvas.Bottom="0" Width="720" Height="39">
<!--I want this at the very bottom of the screen-->
</Canvas>
</Canvas>
</Window>
Я хочу, чтобы холст занимал всю высоту окна, чтобы «bottomInfoBar» всегда оставался в самом низу экрана пользователя. Однако, если я не указываю высоту для холста, «bottomInfoBar» появляется в самом верху. Как мне этого добиться? Пожалуйста, помогите.