File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/WPFDevelopers.Shared/Styles Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1111 BasedOn =" {StaticResource WD.ControlBasicStyle}"
1212 TargetType =" {x:Type GroupBox}" >
1313 <Setter Property =" Padding" Value =" {StaticResource WD.DefaultPadding}" />
14+ <Setter Property =" Background" Value =" {DynamicResource WD.LighterSolidColorBrush}" />
15+ <Setter Property =" BorderBrush" Value =" {DynamicResource WD.BaseSolidColorBrush}" />
1416 <Setter Property =" Template" >
1517 <Setter .Value>
1618 <ControlTemplate TargetType =" {x:Type GroupBox}" >
2123 </Grid .RowDefinitions>
2224 <Border
2325 Grid.Row=" 0"
24- BorderBrush =" {DynamicResource WD.BaseSolidColorBrush}"
26+ Background =" {TemplateBinding Background}"
27+ BorderBrush =" {TemplateBinding BorderBrush}"
2528 BorderThickness =" 1" >
26- <Border .Background>
27- <SolidColorBrush Color =" {DynamicResource BackgroundColor}" />
28- </Border .Background>
2929 <ContentPresenter
3030 Margin =" {TemplateBinding Padding}"
31+ VerticalAlignment =" Center"
3132 ContentSource =" Header"
3233 RecognizesAccessKey =" True" />
3334 </Border >
3435 <Border
3536 Grid.Row=" 1"
36- BorderBrush =" {DynamicResource WD.BaseSolidColorBrush }"
37+ BorderBrush =" {TemplateBinding BorderBrush }"
3738 BorderThickness =" 1,0,1,1"
3839 SnapsToDevicePixels =" True" >
39- <Border .Background>
40- <SolidColorBrush Color =" {DynamicResource BackgroundColor}" />
41- </Border .Background>
4240 <ContentPresenter Margin =" {TemplateBinding Padding}" />
4341 </Border >
4442 </Grid >
You can’t perform that action at this time.
0 commit comments