<Thumb x:Class="FancyZonesEditor.GridResizer"
             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" 
             Focusable="True"
             d:DesignHeight="300" d:DesignWidth="300">
    <Thumb.Template>
        <ControlTemplate>
            <Border x:Name="Body"
                    Height="48"
                    Width="48"
                    CornerRadius="48"
                    Background="{DynamicResource SystemControlBackgroundAccentBrush}">
                <Border.Effect>
                    <DropShadowEffect BlurRadius="6"
                                      Opacity="0.24"
                                      ShadowDepth="1" />
                </Border.Effect>
                <Grid>
                    <Rectangle Height="20"
                               Width="2"
                               Fill="White"
                               Margin="5,0,0,0" />
                    <Rectangle Height="20"
                               Width="2"
                               Fill="White"
                               Margin="-5,0,0,0" />
                </Grid>
            </Border>
            <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                    <Setter Property="Background"
                            TargetName="Body"
                            Value="{DynamicResource SystemAccentColorLight1Brush}"/>
                </Trigger>
                <Trigger Property="IsKeyboardFocused" Value="True">
                    <Setter Property="Background" TargetName="Body"
                            Value="{DynamicResource SystemAccentColorLight3Brush}" />
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>
    </Thumb.Template>
</Thumb>
