Hello,
I just started working with WPF and did not find the answer to my question in Google, so please do not throw stones.
So, I place the blocks in the WrapPanel, so that they would line up as needed after resizing the window:
<WrapPanel> <StackPanel> <WrapPanel> <GroupBox Header="Block1" VerticalAlignment="Top"> <StackPanel Width="200" Height="50" Background="Gray"/> </GroupBox> <GroupBox Header="Block2"> <StackPanel Width="200" Height="150" Background="LightBlue"/> </GroupBox> <GroupBox Header="Block3"> <StackPanel Width="200" Height="25" Background="LightCoral"/> </GroupBox> </WrapPanel> </StackPanel> </WrapPanel> If the window is of normal size, the blocks are arranged as it should: 
If, however, this window is enlarged, it turns out like this: 
And it is necessary like this:
What can be done? Which way to dig?
Thank you very much!
UPDATE:
I found this answer: https://stackoverflow.com/questions/24158561/how-to-appose-wrappanel-items-of-different-heights-vertically , but someone’s library is used there. Is it really impossible to do such a standard?
