<Window x:Class="WpfLayoutKombi.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:WpfLayoutKombi"
        mc:Ignorable="d"
        Title="WpfLayoutKombi" Height="200" Width="300">
    <StackPanel Orientation="Horizontal">
        <Canvas Width="100" Height="130" Margin="5"
                Background="LightGray">
            <Button x:Name="B1" Canvas.Top="50" Canvas.Left="25"
                    Click="B1_Click">Button 1</Button>
            <Button x:Name="B2" Canvas.Bottom="5" Canvas.Right="5"
                    Click="B2_Click">Button 2</Button>
        </Canvas>
        <StackPanel Width="100" Margin="5" Background="LightBlue"
                    Button.Click="Sp_Click">
            <Button x:Name="B3" Margin="5">Button 3</Button>
            <Button x:Name="B4" Margin="5">Button 4</Button>
            <Button x:Name="B5" Margin="5">Button 5</Button>
        </StackPanel>
    </StackPanel>
</Window>
