Skip to content

Commit 92bd49f

Browse files
authored
Allow user to customize Expander Background Color
Passes the background color to the template for the Expander Theme
1 parent 0109f7b commit 92bd49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
</VisualState>
272272
</VisualStateGroup>
273273
</VisualStateManager.VisualStateGroups>
274-
<DockPanel>
274+
<DockPanel Background="{TemplateBinding Background}">
275275
<ToggleButton Name="HeaderSite"
276276
DockPanel.Dock="Top"
277277
BorderThickness="0" Cursor="Hand"

0 commit comments

Comments
 (0)