Skip to content

Commit d82fb55

Browse files
authored
added TemplateBinding for the Background of the Numeric-/Decimal-UpDown control (#3778)
1 parent 5b185e2 commit d82fb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.NumericUpDown.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<converters:NonDefaultThicknessConverter x:Key="OutlinedBorderInactiveThicknessConverter" DefaultThickness="{x:Static wpf:Constants.DefaultOutlinedBorderInactiveThickness}" />
5656
<converters:NonDefaultThicknessConverter x:Key="OutlinedBorderActiveThicknessConverter" DefaultThickness="{x:Static wpf:Constants.DefaultOutlinedBorderActiveThickness}" />
5757
</ControlTemplate.Resources>
58-
<Grid>
58+
<Grid Background="{TemplateBinding Background}">
5959
<TextBox x:Name="PART_TextBox"
6060
Padding="{TemplateBinding Padding, Converter={StaticResource NumericUpDownPaddingConverter}}"
6161
VerticalAlignment="Stretch"

0 commit comments

Comments
 (0)