<UserControl 
    x:Class="ControlExplorer.Controls.LayoutPanels.DemoDockPanel"
    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:c1="using:C1.Xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:panels="using:ControlExplorer.Controls.LayoutPanels"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">

    <c1:C1DockPanel Margin="5">
        <Border c1:C1DockPanel.Dock="Top" Height="100" Background="#FF00ADD6" Margin="5">
            <TextBlock Text="Top" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="61.333" Foreground="WhiteSmoke"/>
        </Border>
        <Border c1:C1DockPanel.Dock="Bottom" Height="100" Background="#FF005B84" Margin="5">
            <TextBlock Text="Bottom" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="61.333" Foreground="WhiteSmoke"/>
        </Border>
        <Border c1:C1DockPanel.Dock="Right" Width="100" Background="#FF9DCFC3" Margin="5">
            <c1:C1LayoutTransformer >
                <c1:C1LayoutTransformer.LayoutTransform>
                    <RotateTransform Angle="90"/>
                </c1:C1LayoutTransformer.LayoutTransform>
                <TextBlock Text="Right" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="61.333" Foreground="WhiteSmoke"/>
            </c1:C1LayoutTransformer>
        </Border>
        <Border c1:C1DockPanel.Dock="Left" Background="CornflowerBlue" Width="100" Margin="5">
            <c1:C1LayoutTransformer >
                <c1:C1LayoutTransformer.LayoutTransform>
                    <RotateTransform Angle="-90"/>
                </c1:C1LayoutTransformer.LayoutTransform>
                <TextBlock Text="Left" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="61.333" Foreground="WhiteSmoke">
                </TextBlock>
            </c1:C1LayoutTransformer>
        </Border>
        <Border Background="Cornsilk"  Margin="5"/>
    </c1:C1DockPanel>
    
</UserControl>
