| 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | xmlns:local="clr-namespace:UI.Controls.Base"> |
| 4 | <Style TargetType="{x:Type local:CheckBox}"> |
| 5 | <Setter Property="SnapsToDevicePixels" |
| 6 | Value="true" /> |
| 7 | |
| 8 | <Setter Property="MinWidth" Value="18"/> |
| 9 | <Setter Property="MinHeight" Value="18"/> |
| 10 | <Setter Property="FontSize" Value="16"/> |
| 11 | <Setter Property="Background" Value="Transparent"/> |
| 12 | |
| 13 | <Setter Property="Template"> |
| 14 | <Setter.Value> |
| 15 | <ControlTemplate TargetType="{x:Type local:CheckBox}"> |
| 16 | <Border Background="{TemplateBinding Background}"> |
| 17 | |
| 18 | |
| 19 | </Border> |
| 20 | |
| 21 | </ControlTemplate> |
| 22 | </Setter.Value> |
| 23 | </Setter> |
| 24 | </Style> |
| 25 | </ResourceDictionary> |