<Window x:Class="R4_DockPanel.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_DockPanel"
        mc:Ignorable="d"
        Title="DockPanel" Height="150" Width="250">
    <DockPanel LastChildFill="False">
        <Button Content="Domyslny" Margin="2"/>
        <Button Content="Góra1" Margin="2" DockPanel.Dock="Top"/>
        <Button Content="Góra2" Margin="2" DockPanel.Dock="Top"/>
        <Button Content="Dół" Margin="2" DockPanel.Dock="Bottom"/>
        <Button Content="Prawy" Margin="2" DockPanel.Dock="Right"/>
        <Button Content="Ostatni" Margin="2"/> 
    </DockPanel>

</Window>
