<Window x:Class="WPF_3_Sample.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"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Border Grid.Row="0" Background="#7671d8" />

        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="250" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Border Grid.Column="0" Background="Blue" />

            <Grid Grid.Column="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.5*" />
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>

                <Border Grid.Row="0" Grid.Column="0" Margin="5" Background="#7671d8" />
                <Border Grid.Row="0" Grid.Column="1" Margin="5" Background="#4c9ecd" />
                <Border Grid.Row="0" Grid.Column="2" Margin="5" Background="Pink" />
                <Border Grid.Row="0" Grid.Column="3" Margin="5" Background="#AEC5E5" />
                <Border Grid.Row="0" Grid.Column="4" Margin="5" Background="#424858" />

                <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Background="Red" />
                <Border Grid.Row="1" Grid.Column="3" Grid.ColumnSpan="2" Background="Yellow" />

                <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Background="MediumPurple" />
                <Border Grid.Row="2" Grid.Column="3" Grid.ColumnSpan="2" Background="YellowGreen" />
            </Grid>
        </Grid>
    </Grid>
</Window>