File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 139
139
140
140
<DatePicker Grid.Row=" 5" Grid.Column=" 1" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 8 0 8"
141
141
wpf:TextFieldAssist.Hint=" Pick Date" />
142
- <wpf : TimePicker Grid.Row=" 5" Grid.Column=" 3" VerticalAlignment =" Top" Width =" 90" HorizontalAlignment =" Left" Margin =" 0 8 0 8" />
143
- <wpf : TimePicker Grid.Row=" 5" Grid.Column=" 4" x : Name =" PresetTimePicker" VerticalAlignment =" Top" Width =" 90" HorizontalAlignment =" Left" Margin =" 0 8 0 8"
142
+ <wpf : TimePicker Grid.Row=" 5" Grid.Column=" 3" VerticalAlignment =" Top" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 8 0 8"
144
143
wpf:TextFieldAssist.Hint=" Custom hint" />
144
+ <wpf : TimePicker Grid.Row=" 5" Grid.Column=" 4" x : Name =" PresetTimePicker" VerticalAlignment =" Top" Width =" 100" HorizontalAlignment =" Left" Margin =" 0 8 0 8" />
145
145
<Slider Grid.Row=" 6" Grid.Column=" 1" TickFrequency =" 5" Orientation =" Horizontal" Minimum =" 1" Maximum =" 50" Value =" 25" />
146
146
<StackPanel Orientation =" Horizontal" Grid.Row=" 6" Grid.Column=" 3" Grid.RowSpan=" 3" >
147
147
<Slider TickFrequency =" 5" TickPlacement =" BottomRight" Orientation =" Vertical" Minimum =" 1" Maximum =" 50" />
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public TextFields()
32
32
33
33
private void UserControl_Loaded ( object sender , RoutedEventArgs e )
34
34
{
35
- PresetTimePicker . SelectedTime = DateTime . Now ;
35
+ PresetTimePicker . SelectedTime = DateTime . Now . Date . AddHours ( 13 ) . AddMinutes ( 37 ) ;
36
36
}
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments