Date Picker
Last updated
Last updated
⚙️ Powered by Rock RMS
Inherits from Xamarin.Forms.DatePicker
Presents a field that displays the selected date (or placeholder text) and allows the user to change the date. During edit mode, the date picker also exposes a Clear button that allows the user to clear the selected date completely.
Property
Type
Description
Label
string
The label title to be used when wrapped in a control that displays a label for the field.
IsRequired
bool
If True then any validation performed will require that a date be selected.
Placeholder
string
The text to display in the field if no date is selected.
SelectedDate
DateTime?
The currently selected date or null if no date is selected.
DatePickerStyle
(iOS only) - Use this to change the OS-level style of the Date Picker.
This property/enum only makes a difference on iOS.
Wheels
The default value -- displays the Wheels
style date picker.
Inline
A calendar style date picker.
How to update the year is not immediately apparent on Android - you must tap the year at the top and not the date between the arrows.
DatePickerStyle