CheckBox


<ResourceDictionary xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221;
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”&gt;

<Style x:Key=”TickCheckBox” TargetType=”{x:Type CheckBox}”>
<Setter Property=”Width” Value=”13″ />
<Setter Property=”Height” Value=”13″ />
<Setter Property=”IsEnabled” Value=”False” />
<Setter Property=”ToolTipService.ShowOnDisabled” Value=”True” />
<Setter Property=”Template”>
<Setter.Value>
<ControlTemplate TargetType=”{x:Type CheckBox}”>
<Canvas>
<Path x:Name=”true” Data=”M371.18033,210.40164 L376.13934,203.41393 382.22541,216.93852 391.91803,207.69672 401.38525,198.45492 414.0082,186.05738 420.77049,195.97541 409.72541,207.02049 399.35656,216.2623 388.08607,226.85656 379.7459,234.06967 368.75,216 368.25,237 423,236.75 423.25,182 368.5,182 368.25,214.5 z”
Width=”{TemplateBinding Width}” Stretch=”Fill” Fill=”{StaticResource PrimaryBrush}” StrokeThickness=”1″ Height=”{TemplateBinding Height}” />
<Path x:Name=”false” Data=”M2.6245,0.437 L1.1319536,2.3820517 1.1240103,2.3739944 0.93701041,2.562 0.812,2.437 4.8035507,6.1063366 0.9995,9.9995 2.7495,11.9995 6.5597377,7.8877249 9.8744431,11.249996 12.2495,9.7495 8.1818848,6.3228612 12.183897,2.3663205 10.437,0.7495 10.3745,0.687 6.3604212,4.6177564 z M0,0 L13,0 13,13 0,13 z”
Width=”{TemplateBinding Width}” Stretch=”Fill” Fill=”{StaticResource CautionBrush}” Height=”{TemplateBinding Height}” HorizontalAlignment=”Center” VerticalAlignment=”Center” />
<ContentPresenter Margin=”0,0,0,0″
VerticalAlignment=”Bottom”
HorizontalAlignment=”Right”
RecognizesAccessKey=”True” />
</Canvas>
<ControlTemplate.Triggers>
<Trigger Property=”IsChecked” Value=”False”>
<Setter Property=”Visibility” TargetName=”true” Value =”Hidden” />
<Setter Property=”Visibility” TargetName=”false” Value =”Visible” />
</Trigger>
<Trigger Property=”IsChecked” Value=”true”>
<Setter Property=”Visibility” TargetName=”true” Value =”Visible” />
<Setter Property=”Visibility” TargetName=”false” Value =”Hidden” />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>