<Thumb
    x:Class="FancyZonesEditor.GridResizer"
    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:local="clr-namespace:FancyZonesEditor"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:props="clr-namespace:FancyZonesEditor.Properties"
    d:DesignHeight="300"
    d:DesignWidth="300"
    AutomationProperties.Name="{x:Static props:Resources.Resizer_Thumb_Announce}"
    Focusable="True"
    mc:Ignorable="d">
    <Thumb.Template>
        <ControlTemplate>
            <Border
                x:Name="Body"
                Width="48"
                Height="48"
                Background="{DynamicResource SystemControlBackgroundAccentBrush}"
                CornerRadius="48">
                <Border.Effect>
                    <DropShadowEffect
                        BlurRadius="6"
                        Opacity="0.24"
                        ShadowDepth="1" />
                </Border.Effect>
                <Grid>
                    <Rectangle
                        Width="2"
                        Height="20"
                        Margin="5,0,0,0"
                        Fill="White" />
                    <Rectangle
                        Width="2"
                        Height="20"
                        Margin="-5,0,0,0"
                        Fill="White" />
                </Grid>
            </Border>
            <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                    <Setter TargetName="Body" Property="Background" Value="{DynamicResource SystemAccentColorLight1Brush}" />
                </Trigger>
                <Trigger Property="IsKeyboardFocused" Value="True">
                    <Setter TargetName="Body" Property="Background" Value="{DynamicResource SystemAccentColorLight3Brush}" />
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>
    </Thumb.Template>
</Thumb>
