<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:hc="clr-namespace:HandyControl.Controls">

    <Style x:Key="RectangleCircular" TargetType="Rectangle">
        <Setter Property="hc:RectangleAttach.Circular" Value="True"/>
    </Style>

    <Style x:Key="RectangleFocusVisual" TargetType="Rectangle">
        <Setter Property="Margin" Value="-2"/>
        <Setter Property="Opacity" Value=".6"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Stroke" Value="{DynamicResource SecondaryBorderBrush}"/>
        <Setter Property="StrokeThickness" Value="2"/>
        <Setter Property="StrokeDashArray" Value="1 1"/>
    </Style>

    <Style x:Key="RectangleFocusVisualCircular" BasedOn="{StaticResource RectangleFocusVisual}" TargetType="Rectangle">
        <Setter Property="hc:RectangleAttach.Circular" Value="True"/>
    </Style>

</ResourceDictionary>
