Skip to content

Commit 1e35bad

Browse files
committed
Added subheaders for Pickers.xaml of demo
1 parent 51fbe15 commit 1e35bad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MainDemo.Wpf/Pickers.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
d:DesignHeight="300" d:DesignWidth="300">
1111
<AdornerDecorator>
1212
<ScrollViewer>
13-
<codeDisplayer:XamlDisplayerPanel >
14-
<TextBlock >Classic WPF DatePicker control with Material Design theme, and new TimePicker control:</TextBlock>
13+
<codeDisplayer:XamlDisplayerPanel HorizontalAlignment="Center">
14+
<TextBlock Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">Classic WPF DatePicker control with Material Design theme, and new TimePicker control:</TextBlock>
1515
<DatePicker Width="100" HorizontalAlignment="Left" Margin="0 16 0 0" materialDesign:HintAssist.Hint="Pick Date" Style="{StaticResource MaterialDesignFloatingHintDatePicker}" />
1616
<DatePicker x:Name="FutureDatePicker" Width="100" HorizontalAlignment="Left" Margin="0 16 0 0"
1717
materialDesign:HintAssist.Hint="Future Date">
@@ -53,7 +53,7 @@
5353
</materialDesign:TimePicker.Text>
5454
</materialDesign:TimePicker>
5555

56-
<TextBlock MaxWidth="200" TextWrapping="Wrap">By combining the DialogHost (see MainWindow.xaml) and the Calendar and Clock controls, custom popups can be built.</TextBlock>
56+
<TextBlock Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">By combining the DialogHost (see MainWindow.xaml) and the Calendar and Clock controls, custom popups can be built.</TextBlock>
5757
<StackPanel Orientation="Horizontal" Margin="0 32 0 0">
5858
<TextBlock Text="{Binding Date, StringFormat=d}" VerticalAlignment="Center" FontSize="24" />
5959
<Button Margin="8 0 0 0" Content="..."

0 commit comments

Comments
 (0)