TimePicker - using string array instead of default digits ... is it possible?

I was looking for a drop down type control to use in Xamarin Forms. I found the picker - which works, but isn't quite what I was hoping for. I also found the TimePicker which from a visual standpoint, is exactly what I want. So, is there a way to set what fills each part of the TimePicker ... like an array of strings instead of digits 1 through 12?

If not, is there anything out there that provides a similar look and function?

Answers

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    So, is there a way to set what fills each part of the TimePicker

    No. It displays TimeSpan objects.

    Being able to set a Template for a Picker like other controls was on the Evolution thread.
    https://forums.xamarin.com/discussion/102875/picker-itemtemplate

    So what it is you are wanting? Multiple reels like a slot machine or combination lock... and you can set the range of each reel?

    cc: @DavidOrtinau
    David - Do you have any insight on whether that Evolution story went anywhere? Is there progress on being able to specify a Template for a regular Picker?

Sign In or Register to comment.