Skip to content

Commit da202dd

Browse files
Added in a template binding to the background property in the MaterialDesignDatePicker, this now makes it so when setting Background on a datepicker it will reflect the change. (#1721)
1 parent 5908464 commit da202dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@
375375
<DatePickerTextBox x:Name="PART_TextBox"
376376
Grid.Column="0"
377377
Focusable="{TemplateBinding Focusable}"
378+
Background="{TemplateBinding Background}"
378379
Grid.Row="0"
379380
Padding="0,0,8,0"
380381
VerticalContentAlignment="Center"

0 commit comments

Comments
 (0)