The TimePicker control is as easy to use as the DatePicker. Here are its most important properties:
- Time : a TimeSpan object used to get or set the picker time
- ClockIdentifier : used to get or set the clock system (24 or 12 hours based)
- Header : used to define a header
- MinuteIncrement : the time increment used in the minute combobox. For instance, with a value set to 5, the minute combobox will display : 0, 5, 10,15 …
<TimePicker x:Name="TimePicker1"
Header="Time of arrival : "
ClockIdentifier="24HourClock"
MinuteIncrement="5" />