<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:dhcc="http://www.dhcc.com.cn">

    <Style TargetType="CheckBox"  BasedOn="{StaticResource {x:Type CheckBox}}">
        <Setter Property="dhcc:FocusManager.FocusHandled" Value="{x:Static dhcc:ControlHelper.EmptyFocusHandled}" />
        <Setter Property="dhcc:FocusManager.IsInternalKeyboardControlling" Value="True" />
        <Setter Property="dhcc:FocusManagerExt.IsFocusAdorner" Value="True" />
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="FocusVisualStyle"	Value="{x:Null}"/>
        <Setter Property="Background" Value="{DynamicResource CheckBox_Normal_Background}"/>
        <Setter Property="BorderBrush" Value="{DynamicResource CheckBox_Normal_BorderBrush}"/>
        <Setter Property="Foreground" Value="{DynamicResource CheckBox_Normal_Foreground}"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CheckBox">
                    <BulletDecorator Background="Transparent">
                        <BulletDecorator.Bullet>
                            <Border x:Name="Border" Width="13"  Height="13"  CornerRadius="0"  
                                    Background="{TemplateBinding Background}"
                                    BorderThickness="1"
                                    BorderBrush="{TemplateBinding BorderBrush}">
                                <Path  Width="10" Height="10"  
                                       x:Name="CheckMark"
                Stroke="{TemplateBinding Foreground}"
                StrokeThickness="1.5"
                                       Margin="1"
                Data="M 1 4 L 4 8 M 4 8 L 9 0" />
                            </Border>
                        </BulletDecorator.Bullet>
                        <ContentPresenter Margin="4,0,0,0"
            VerticalAlignment="Center"
            HorizontalAlignment="Left"
            RecognizesAccessKey="True"/>
                    </BulletDecorator>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="false">
                            <Setter TargetName="CheckMark" Property="Visibility" Value="Collapsed"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="true">
                <Setter Property="Background" Value="{DynamicResource CheckBox_MouseOver_Background}" />
                <Setter Property="BorderBrush" Value="{DynamicResource CheckBox_MouseOver_BorderBrush}" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="false">
                <Setter Property="Background" Value="{DynamicResource CheckBox_Enable_Background}" />
                <Setter Property="BorderBrush" Value="{DynamicResource CheckBox_Enable_BorderBrush}" />
                <Setter Property="Foreground" Value="{DynamicResource CheckBox_Enable_Foreground}"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="true">
                <Setter Property="Background" Value="{DynamicResource CheckBox_Pressed_Background}" />
            </Trigger>
        </Style.Triggers>
    </Style>

</ResourceDictionary>