This is a migrated thread and some comments may be shown as answers.

Configuring RadTimePicker to use 24 hours

2 Answers 152 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pierre Thomasius
Top achievements
Rank 1
Pierre Thomasius asked on 01 Jan 2015, 05:31 PM
According to the documentation it is possible to configure the RadTimePicker to use 24 hour time format by setting the SelectorFormat property to "Hm" where the capital H is 24hrs and h is 12hrs.
However the property is not recognized and does not compile. Anyone come across this and solved it?

Cheers

2 Answers, 1 is accepted

Sort by
0
Pierre Thomasius
Top achievements
Rank 1
answered on 02 Jan 2015, 01:41 PM
So the documentation is not really up-to-date. First the property used is SelectOrder not SelectorFormat and than you need to ensure you set the CalendarClockIdentifier="24HourClock".

<input:RadTimePicker ItemLength="90" 
                                     DisplayValueFormat="hh:MM"
                                     SelectorOrder="Hm"
                                     CalendarClockIdentifier="24HourClock"
                                     Margin="5"  
                                     Value="{Binding DiveEndTime, Mode=TwoWay}"
                                     Grid.Row="3"
                                     Grid.Column="1"
                                     HorizontalAlignment="Stretch" />
0
Tsvyatko
Telerik team
answered on 05 Jan 2015, 01:05 PM
Hello Pierre,

Thank you for contacting us! You are correct, in the latest version of Windows Universal the property is changed to SelectorOrder. We will update our documentation accordingly.

Thank you for reporting this! We have updated your telerik point accordingly.

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TimePicker
Asked by
Pierre Thomasius
Top achievements
Rank 1
Answers by
Pierre Thomasius
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or