TimeSpanPicker - selected part

Posted 10 months ago by Avatar Ralph Gucwa - Racelogic

I have a TimeSpanPicker displaying Hours, Minutes and Seconds.
Is there any way to force the picker to select the Minutes part when it opens?  In my application the 99% case is to modify the Minutes part, but when the picker opens, the Seconds part is selected by default and the user has to click Minutes each time.

Comments (2)

Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Ralph,

You could probably alter this by cloning our default TimeSpanPicker Style  and making a new implicit Style for TimeSpanPicker in your app's Resources with the cloned Style.  Then set SelectedIndex="2" on the shared:HorizontalListBox in its Template.  That should get it to default to minutes.

Please write our support address if you don't already have the default styles and we can send them to you.

Actipro Software Support
Posted 10 months ago by Ralph Gucwa - Racelogic

Brilliant, it works!
Thanks a lot!

Information The latest build of this product (2018.1 build 0674) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.