Say I've got two elements in a window.
I'd like element A to fill all unused vertcial space and have always at least eg. 200px height.
Element B will have few fixed sizes (expander) and it should be given the space it demands (but leaving at least 200px for A). If there is not enough free space in a window, B should be scrollable.
That's close to what I wan't to achive, but DockPanel doesn't respect MinHeight property.
<DockPanel>
<ScrollViewer DockPanel.Dock="Bottom">
<B/>
</ScrollViewer>
<A MinHeight="200"/>
</DockPanel>
Is there any way to do it using WPF native panels?