<Window x:Class="R4_WrapPanel.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:R4_WrapPanel"
        mc:Ignorable="d"
        Title="WrapPanel" Height="150" Width="250">
    <WrapPanel>
        <Button Content="Przycisk1" Margin="10"/>
        <Button Content="Przycisk2" Margin="10"/>
        <Button Content="Przycisk3" Margin="10"/>
        <Button Content="Przycisk4" Margin="10"/>
    </WrapPanel>

</Window>

<!--ItemHeight="50" ItemWidth="80"-->