加上BasedOn 继承样式
<Style x:Key="ckStyle" TargetType="CheckBox" BasedOn="{StaticResource {x:Type CheckBox}}">
<Setter Property="Background" Value="Transparent"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
<Setter Property="VerticalAlignment" Value="Center"></Setter>
<Setter Property="BorderBrush" Value="Gray"></Setter>
<EventSetter Event="MouseEnter" Handler="CheckBox_MouseEnter"/>
<EventSetter Event="MouseLeave" Handler="CheckBox_MouseLeave"/>
<EventSetter Event="Click" Handler="CheckBox_Click"/>
</Style>