iOSDatePicker.Mode

From Xojo Documentation

Property (As iOSDatePicker.Modes )
aiOSDatePicker.Mode = newiOSDatePicker.ModesValue
or
iOSDatePicker.ModesValue = aiOSDatePicker.Mode

Supported on Mobile (iOS).

Uses Modes to specify how the DatePicker should appear. Changing between date/time modes and CountdownTimer resets property values to their defaults.

Sample Code

Change the date picker to show dates:

StartDatePicker.Mode = iOSDatePicker.Modes.Date