<UserControl x:Class="XFEToolBox.WpfCore.Controls.WindowResizeGrip"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Width="25" Height="25" Focusable="False"
             HorizontalAlignment="Right" VerticalAlignment="Bottom"
             Cursor="SizeNWSE">
    <Grid>
        <Image x:Name="CornerImage" Width="25" Height="25" Stretch="Fill"
               FocusVisualStyle="{x:Null}" IsHitTestVisible="False"/>
        <Thumb DragDelta="ResizeThumb_DragDelta" DragCompleted="ResizeThumb_DragCompleted">
            <Thumb.Template>
                <ControlTemplate TargetType="Thumb">
                    <Border Style="{StaticResource CornerBorderStyle}"/>
                </ControlTemplate>
            </Thumb.Template>
        </Thumb>
    </Grid>
</UserControl>
