File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 20
20
</Grid .ColumnDefinitions>
21
21
<TextBlock Grid.ColumnSpan=" 3" >Classic WPF DatePicker control with Material Design theme, and new TimePicker control:</TextBlock >
22
22
<StackPanel Grid.Row=" 1" Grid.Column=" 0" >
23
- <DatePicker Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0" materialDesign:TextFieldAssist.Hint=" Pick Date" IsEnabled = " False " />
23
+ <DatePicker Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0" materialDesign:TextFieldAssist.Hint=" Pick Date" />
24
24
<DatePicker x : Name =" FutureDatePicker" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0" materialDesign:TextFieldAssist.Hint=" Future Date" />
25
25
</StackPanel >
26
26
<materialDesign : TimePicker Grid.Row=" 1" Grid.Column=" 1" VerticalAlignment =" Top" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0"
27
- IsEnabled =" False"
28
- materialDesign:TextFieldAssist.Hint=" Custom hint" />
29
- <materialDesign : TimePicker Grid.Row=" 1" Grid.Column=" 2" Is24Hours =" True" x : Name =" PresetTimePicker" VerticalAlignment =" Top" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0" />
27
+ materialDesign:TextFieldAssist.Hint=" Custom hint" />
28
+ <materialDesign : TimePicker Grid.Row=" 1" Grid.Column=" 2" Is24Hours =" True" x : Name =" PresetTimePicker" VerticalAlignment =" Top" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 16 0 0" />
30
29
31
30
<TextBlock Grid.Row=" 2" Grid.ColumnSpan=" 3" Margin =" 0 128 0 0" >By combining the DialogHost (see MainWindow.xaml) and the Calendar and Clock controls, custom popups can be built.</TextBlock >
32
31
<StackPanel Grid.Row=" 3" Grid.Column=" 0" Orientation =" Horizontal" Margin =" 0 32 0 0" >
You can’t perform that action at this time.
0 commit comments