![]() |
Essential Kit
|
Provides a cross-platform interface to access device's date picker view.
Public Member Functions | |
DateTimeKind | GetKind () |
Gets the DateTimeKind for the DatePicker. | |
DatePickerMode | GetMode () |
Gets the DatePickerMode for the DatePicker. | |
DateTime? | GetMinimumDate () |
Gets the minimum date that can be selected. | |
DateTime? | GetMaximumDate () |
Gets the maximum date that can be selected. | |
DateTime? | GetInitialDate () |
Gets the initial date set for the DatePicker. | |
DatePicker | SetKind (DateTimeKind value) |
Sets the DateTimeKind for the DatePicker. | |
DatePicker | SetMinimumDate (DateTime? value) |
Sets the minimum date that can be selected. | |
DatePicker | SetMaximumDate (DateTime? value) |
Sets the maximum date that can be selected. | |
DatePicker | SetInitialDate (DateTime? value) |
Sets the initial date that the picker will show. | |
void | Show () |
Shows the date picker dialog to the user. | |
Static Public Member Functions | |
static DatePicker | CreateInstance (DatePickerMode mode=DatePickerMode.DateAndTime) |
Creates a new instance of the DatePicker class. | |
Public Attributes | |
ValueChangeCallback | OnValueChange = delegate { } |
Event triggered when the selected date value changes. | |
Callback< DatePickerResult > | OnCloseCallback = delegate { } |
Event triggered when the date picker is closed. | |
|
static |
mode | The picker mode to be used. |
DateTimeKind GetKind | ( | ) |
DatePickerMode GetMode | ( | ) |
DateTime? GetMinimumDate | ( | ) |
DateTime? GetMaximumDate | ( | ) |
DateTime? GetInitialDate | ( | ) |
DatePicker SetKind | ( | DateTimeKind | value | ) |
value | The DateTimeKind to set. |
References DatePicker.SetInitialDate(), DatePicker.SetMaximumDate(), and DatePicker.SetMinimumDate().
DatePicker SetMinimumDate | ( | DateTime? | value | ) |
value | The minimum date to set. |
References DatePicker.SetInitialDate().
Referenced by DatePicker.SetKind().
DatePicker SetMaximumDate | ( | DateTime? | value | ) |
value | The maximum date to set. |
Referenced by DatePicker.SetKind().
DatePicker SetInitialDate | ( | DateTime? | value | ) |
value | The initial date to set. |
Referenced by DatePicker.SetKind(), and DatePicker.SetMinimumDate().