<UserControl x:Class="FancyZonesEditor.GridEditor"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:FancyZonesEditor"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <Style TargetType="Button">
            <Setter Property="FontFamily" Value="Segoe UI" />
            <Setter Property="FontWeight" Value="SemiBold" />
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="Background" Value="#F2F2F2"/>
            <Setter Property="Width" Value="150"/>
        </Style>
    </UserControl.Resources>
    <Grid>
        <Canvas x:Name="Preview"/>
        <Canvas x:Name="AdornerLayer"/>
        <Canvas x:Name="MergePanel" Visibility="Collapsed" MouseUp="MergePanelMouseUp">

            <StackPanel x:Name="MergeButtons" Background="Gray" Orientation="Horizontal">
                <Button Click="MergeClick" Margin="0" Height="36" Width="134">
                    <StackPanel Orientation="Horizontal">
                    <Image Source="images/Merge.png" Margin="0,0,12,0" Height="16" HorizontalAlignment="Left" />
                    <TextBlock Text="Merge zones"/>
                    </StackPanel>
                </Button>
            </StackPanel>
        </Canvas>
    </Grid>
</UserControl>