Tritium UI
TritiumDateTimePicker
Edit a date, a time, or both, and keep the value inside an optional range.
Key features
- Switch among date only, time only, and date plus time.
- Bind a nullable DateTime two-way.
- Clamp the date with MinimumDate and MaximumDate.
- Opt in to haptic or sound feedback when the user commits a change.
- DataForm uses the date mode for DateTime and DateOnly properties.
Platforms
Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).
Main API
- Value . The selected date and time, two-way and nullable.
- Mode . Date, Time, or DateTime.
- MinimumDate . Earliest selectable date.
- MaximumDate . Latest selectable date.
Basic example
Declare this namespace on the page.
xmlns:editors="clr-namespace:Tritium.Maui.Editors;assembly=Tritium.Maui.Editors"
<editors:TritiumDateTimePicker Value="{Binding When}"
Mode="DateTime"
MinimumDate="2020-01-01" /> Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.