migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimeElement - Expose UIDatePicker.minuteInterval ?

snosrap opened this issue · comments

It would be great to expose the minuteInterval property of UIDatePicker in the TimeElement control. Because the datePicker is created by DateTimeElement.CreatePicker() after the TimeElement is tapped, it is (seemingly) impossible to modify the UIDatePicker before it is displayed to the user.

Question:
Are there any workarounds to change the minuteInterval to, say, 15? (e.g., 00, 15, 30, 45). This would make data-entry much easier in certain situations.

If no workarounds, could this be exposed via an attribute? Something like:
[Time(15)] // 15-minute divisions DateTime alarm;

Tim confirms it works now.