Skip to content

Commit 5d3b109

Browse files
Partial revert of 2502 (#3018)
The PR included a seemingly non-related change from DynamicResource to StaticResource which effectively broke the ability to override the style. Only reverting this particular part of the PR: https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/pull/2502/files#diff-9223925c6d6052ba159059666e83a002034f38005382dd8684c025dbba4f985bL460
1 parent 12a3a9a commit 5d3b109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
Background="{TemplateBinding Background}"
502502
BorderBrush="{TemplateBinding BorderBrush}"
503503
Focusable="{TemplateBinding Focusable}"
504-
Style="{StaticResource MaterialDesignDatePickerTextBox}">
504+
Style="{DynamicResource MaterialDesignDatePickerTextBox}">
505505
<DatePickerTextBox.Padding>
506506
<MultiBinding Converter="{StaticResource PickerInnerPaddingConverter}">
507507
<Binding Path="Padding" RelativeSource="{RelativeSource TemplatedParent}" />

0 commit comments

Comments
 (0)