<Style x:Key="CheckBox.Style" TargetType="{x:Type CheckBox}">
<Setter Property="FontFamily" Value=""/>
<Setter Property="FontSize" Value=""/>
<Setter Property="FontWeight" Value=""/>
<Setter Property="Background" Value=""/>
<Setter Property="BorderBrush" Value=""/>
<Setter Property="Foreground" Value=""/>
<Setter Property="BorderThickness" Value=""/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="HorizontalContentAlignment" Value=""/>
<Setter Property="VerticalContentAlignment" Value=""/>
<Setter Property="Padding" Value=""/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type CheckBox}">
<Grid x:Name="Root" Background="">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="FocusStates">
<VisualState x:Name="Focused">
<Storyboard>
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="IsFocused"/>
</Storyboard>
</VisualState>
<VisualState x:Name="Unfocused"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="Field" Grid.ColumnSpan="1" Grid.Column="0" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Height="14" Margin="0,1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Width="14">
<Border x:Name="IsDefault" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2"/>
<Border x:Name="IsFocused" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0" CornerRadius="2"/>
<Path x:Name="Indeterminate" Visibility="Collapsed" Style="{DynamicResource CheckBox.Indeterminate}"/>
<Path x:Name="Checked" Visibility="Collapsed" Style="{DynamicResource CheckBox.Checked}"/>
</Grid>
<ContentPresenter x:Name="contentPresenter" Grid.ColumnSpan="1" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="1" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="4,0,0,0" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsFocused" Value="True">
<Setter Property="Opacity" TargetName="IsFocused" Value="0"/>
</Trigger>
<Trigger Property="IsChecked" Value="True">
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Visibility" TargetName="Checked" Value="Visible"/>
<Setter Property="Background" Value=""/>
</Trigger>
<!--<Trigger Property="IsChecked" Value="False"> 체크가 아닐시
<Setter Property="BorderBrush" Value=""/>
</Trigger>-->
<Trigger Property="IsChecked" Value="{x:Null}">
<Setter Property="Visibility" TargetName="Indeterminate" Value="Visible"/>
</Trigger>
<Trigger Property="FlowDirection" Value="RightToLeft">
<Setter Property="LayoutTransform" TargetName="Field">
<Setter.Value>
<ScaleTransform CenterY="0.5" CenterX="0.5" ScaleY="1" ScaleX="-1"/>
</Setter.Value>
</Setter>
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True"/>
<Condition Property="IsFocused" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Opacity" TargetName="IsFocused" Value="0"/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsPressed" Value="True"/>
<Condition Property="IsFocused" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Opacity" TargetName="IsFocused" Value="0"/>
</MultiTrigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value=""/>
<Setter Property="BorderBrush" Value=""/>
<Setter Property="Background" Value=""/>
<Setter Property="Fill" TargetName="Checked" Value=""/>
<Setter Property="Fill" TargetName="Indeterminate" Value=""/>
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsEnabled" Value="False"/>
<Condition Property="IsChecked" Value="False"/>
</MultiTrigger.Conditions>
<Setter Property="Background" Value=""/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True"/>
<Condition Property="IsChecked" Value="False"/>
</MultiTrigger.Conditions>
<Setter Property="BorderBrush" Value=""/>
<Setter Property="Foreground" Value=""/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True"/>
<Condition Property="IsChecked" Value="True"/>
</MultiTrigger.Conditions>
<Setter Property="Background" Value=""/>
<Setter Property="Foreground" Value=""/>
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="CheckBox.Indeterminate" TargetType="{x:Type Path}">
<Setter Property="Data" Value="F1M0,0L8,0 8,8 0,8 0,0z"/>
<Setter Property="Fill" Value="Red"/>
<Setter Property="Height" Value="2"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="2"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
<Setter Property="Stretch" Value="Fill"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Width" Value="16"/>
</Style>
<Style x:Key="CheckBox.Checked" TargetType="{x:Type Path}">
<Setter Property="Data" Value="M0.999,1.999 L0.0,3.0 L2.999,6.0 L8.0,0.999 L7.0,0.0 L2.999,4.0 L0.999,1.999 Z"/>
<!--<Setter Property="Data" Value="F1M0,3L0,5 3,8 8,3 8,1 3,6 0,3z"/>-->
<Setter Property="Fill" Value="Blue"/>
<Setter Property="Height" Value="6"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="2"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
<Setter Property="Stretch" Value="Fill"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Width" Value="16"/>
</Style>