WrapPanel
Головна відмінність від StackPanel - якщо елементи не вміщуються в рядок або стовпець, то створюються новий
<WrapPanel>
<Button Background="AliceBlue" Content="Кнопка 1" />
<Button Background="Blue" Content="Кнопка 2" />
<Button Background="Aquamarine" Content="Кнопка 3" Height="30"/>
<Button Background="DarkGreen" Content="Кнопка 4" Height="20"/>
<Button Background="LightGreen" Content="Кнопка 5"/>
<Button Background="RosyBrown" Content="Кнопка 6" Width="80" />
<Button Background="GhostWhite" Content="Кнопка 7" />
</WrapPanel>