<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="ResizeGripDefaultStyle" TargetType="ResizeGrip">
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" />
        <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}" />
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ResizeGrip">
                    <Grid
                        SnapsToDevicePixels="true"
                        Background="{TemplateBinding Background}">
                        <Path
                            HorizontalAlignment="Right"
                            VerticalAlignment="Bottom"
                            Margin="0,0,2,2"
                            Data="M 9,0 L 11,0 L 11,11 L 0,11 L 0,9 L 3,9 L 3,6 L 6,6 L 6,3 L 9,3 z">

                            <Path.Fill>
                                <DrawingBrush
                                    Viewbox="0,0,3,3"
                                    Viewport="0,0,3,3"
                                    TileMode="Tile"
                                    ViewportUnits="Absolute"
                                    ViewboxUnits="Absolute">
                                    <DrawingBrush.Drawing>
                                        <DrawingGroup>
                                            <DrawingGroup.Children>
                                                <GeometryDrawing
                                                    Brush="{DynamicResource ResizeGripForeground}"
                                                    Geometry="M 0,0 L 2,0 L 2,2 L 0,2 z " />
                                            </DrawingGroup.Children>
                                        </DrawingGroup>
                                    </DrawingBrush.Drawing>
                                </DrawingBrush>
                            </Path.Fill>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ResizeGrip" BasedOn="{StaticResource ResizeGripDefaultStyle}" />
</ResourceDictionary>