Cześć,
piszę mały programik w którym chcę rozmieścić dużo formantów we wrappanel lecz nie wiem czy moje rozwiązanie na ten problem jest dobre czy jest inne (lepsze).
Kod XAML:
<WrapPanel Height="157" HorizontalAlignment="Left" Margin="12,128,0,0" Name="wrapPanel1" VerticalAlignment="Top" Width="395">
<Button Height="50" Name="bt1" Width="50" Content="foo"/>
<Button Height="50" Name="bt2" Width="50" Content="foo"/>
<Button Height="50" Name="bt3" Width="50" Content="foo"/>
<Button Height="50" Name="bt4" Width="50" Content="foo"/>
<Button Height="50" Name="bt5" Width="50" Content="foo"/>
<Button Height="50" Name="bt6" Width="50" Content="foo"/>
</WrapPanel>