DatePicker
A date and time picker.
Uses the native picker's intrinsic size unless
View.Widthconstrains it.
Properties
Date
The picked date, in local time.
DateChanged
Invoked with the new value whenever the user picks a date.
Kind
How the picker presents itself.
Type: DatePickerStyle
Maximum
The latest pickable date, or null for no bound.
Type: DateTime?
Minimum
The earliest pickable date, or null for no bound.
Type: DateTime?
Mode
What the picker lets the user pick.
Type: DatePickerMode
Methods
MeasureOverride
Content measurement. Panels recurse; controls delegate to the native SizeThatFits.
| Parameter | Summary |
|---|---|
Size availableSize | The size available for the view's content. |
Returns
Size: The desired content size.