Skip to content

Commit de5b054

Browse files
jizcKeboo
authored andcommitted
Filled and Outlined DatePicker styles (#1501)
* Filled and Outlined DatePicker styles * Removed redundant setter * Forward attached properites Inherited attached properties can have performance implications. So instead we simply forward them as needed.
1 parent 640420c commit de5b054

File tree

3 files changed

+385
-117
lines changed

3 files changed

+385
-117
lines changed

MainDemo.Wpf/Pickers.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
Style="{StaticResource MaterialDesignFloatingHintTimePicker}"
7373
materialDesign:HintAssist.Hint="Disabled" />
7474
</smtx:XamlDisplay>
75+
<smtx:XamlDisplay Key="pickers_13" HorizontalAlignment="Left" Margin="0 32 0 0">
76+
<DatePicker Width="140" materialDesign:HintAssist.Hint="Pick Date" Style="{StaticResource MaterialDesignFilledDatePicker}" />
77+
</smtx:XamlDisplay>
78+
<smtx:XamlDisplay Key="pickers_14" HorizontalAlignment="Left" Margin="0 16 0 0">
79+
<DatePicker Width="140" materialDesign:HintAssist.Hint="Pick Date" Style="{StaticResource MaterialDesignOutlinedDatePicker}" />
80+
</smtx:XamlDisplay>
7581
</StackPanel>
7682

7783
<smtx:XamlDisplay Key="pickers_7" Grid.Row="1" Grid.Column="2" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0 16 0 0">

0 commit comments

Comments
 (0)