DatePicker
Select dates and times with compact, inline, or wheel-based native pickers.
DatePicker wraps the native date picker and exposes its value as a bindable local DateTime.
Mode controls which components are editable:
Dateselects a calendar date.Timeselects a time of day.DateAndTimeselects both.
Kind controls presentation. Compact expands from a small field, Inline keeps the calendar or time selector in the layout, and Wheels uses the traditional scrolling columns.
Bounds and sizing
Set Minimum and Maximum to nullable DateTime values when the surrounding workflow has real limits. Keep the model validation as the final authority as well.
The picker normally uses its native intrinsic size. Give it an explicit width only when it needs to align with neighboring controls:
Assign DateChanged for local view behavior, or use a two-way binding when the date is application state. Date defaults to the current local date and time.