| 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:View}"> |
| 5 | <Setter Property="SnapsToDevicePixels" |
| 6 | Value="true" /> |
| 7 | <Setter Property="Background" Value="Transparent"/> |
| 8 | |
| 9 | <Setter Property="Template"> |
| 10 | <Setter.Value> |
| 11 | <ControlTemplate TargetType="{x:Type local:View}"> |
| 12 | <Border Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> |
| 13 | <ContentPresenter/> |
| 14 | </Border> |
| 15 | |
| 16 | </ControlTemplate> |
| 17 | </Setter.Value> |
| 18 | </Setter> |
| 19 | </Style> |
| 20 | </ResourceDictionary> |