| 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.SettingPanel" |
| 4 | xmlns:base="clr-namespace:UI.Controls.Base"> |
| 5 | <Style TargetType="{x:Type local:SettingPanel}"> |
| 6 | <Setter Property="SnapsToDevicePixels" |
| 7 | Value="true" /> |
| 8 | |
| 9 | <Setter Property="Background" Value="{DynamicResource SettingPanelBgBrush}"/> |
| 10 | <Setter Property="BorderBrush" Value="{DynamicResource SettingPanelBorderBrush}"/> |
| 11 | <Setter Property="SpliteLineBrush" Value="{DynamicResource SettingPanelSpliteLineBrush}"/> |
| 12 | <Setter Property="Template"> |
| 13 | <Setter.Value> |
| 14 | <ControlTemplate TargetType="{x:Type local:SettingPanel}"> |
| 15 | <Border CornerRadius="5" x:Name="Border"> |
| 16 | <StackPanel x:Name="Container"> |
| 17 | |
| 18 | </StackPanel> |
| 19 | |
| 20 | </Border> |
| 21 | <ControlTemplate.Triggers> |
| 22 | |
| 23 | </ControlTemplate.Triggers> |
| 24 | </ControlTemplate> |
| 25 | </Setter.Value> |
| 26 | </Setter> |
| 27 | </Style> |
| 28 | </ResourceDictionary> |