.NET MAUI Date Time Picker - A Quick and Interactive Date Time Picker
- Different date and time formats.
- Minimum and maximum date restrictions.
- Different picker modes.
- Customization options for the header, column header, footer, and selection view.
Trusted by the world’s leading companies
Overview
The Syncfusion® .NET MAUI Date Time Picker (SfDateTimePicker) is a fully customizable control that lets you select a date by scrolling through year, month, and day lists. It supports header and footer views, date formatting, intervals, text display modes, and date restriction.
.NET MAUI Date Time Picker code example
Easily get started with the .NET MAUI Date Time Picker using a few lines of XAML and C# code, as demonstrated in the following example. Also explore this .NET MAUI Date Time Picker example, which shows you how to render and configure the .NET MAUI Date Time Picker.
<picker:SfDateTimePicker x:Name="Picker">
<picker:SfDateTimePicker.FooterView>
<picker:PickerFooterView ShowOkButton="True" Height="40" />
</picker:SfDateTimePicker.FooterView>
</picker:SfDateTimePicker>SfDateTimePicker picker = new SfDateTimePicker();
picker.FooterView= new PickerFooterView()
{
ShowOkButton = true,
Height = 40,
};
this.Content = picker;Header view
The Date Time Picker provides predefined header text. By default, it shows the current date and time. Users can customize the background color, divider color, and selection text of the header.
Column header view
The .NET MAUI Date Time Picker supports a customizable column header view to separate the headings of each column. This helps users understand the arrangement of the different date and time components (e.g., year, month, day, hour, and minute) within the picker.
Footer view
The .NET MAUI Date Time Picker offers extensive customization options, including the ability to tailor the footer text and adjust the background color.
Selection view
The customizable .NET MAUI Date Time Picker selection view shows the selected item. Its customization options allow developers to enhance usability, accessibility, and user engagement.
Date format
The .NET MAUI Date Time Picker offers 8 predefined formats to represent the date in different string formats.
Time format
The .NET MAUI Date Time Picker offers 9 predefined formats to represent the time.
Picker modes
Show the picker in a pop-up with the dialog mode. The relative dialog mode is used to align the picker in a specific position that makes the app look more impressive in the UI.
Text display modes
The .NET MAUI Date Time Picker allows users to display picker items based on the text display modes. It offers four modes: default, fade, shrink, and FadeAndShrink.
Blackout date-times
The .NET MAUI Date Time Picker allows users to restrict both date and time selection on specified blackout dates and times.
Date intervals
The date values can individually be populated with year, month, and day intervals. By configuring intervals for each unit, developers can fine-tune the picker’s behavior.
Time intervals
The time values can individually be populated with hour, minute, and second intervals.
Picker interactions
The .NET MAUI Date Time Picker allows you to select times through tap and scroll interactions.
Looping support
The Date Time Picker control supports looping for both date and time values. This enables continuous scrolling, looping back to the start of the item list when the end is reached, for a faster and more user-friendly selection process.
Appearance customization
Enhance your Date Time Picker control’s look using a data template for the following picker UI elements:
- Header
- Column header
- Footer
Not sure how to create your first .NET MAUI Date Time Picker? Our documentation can help.
I’d love to read it nowFrequently Asked Questions
Why should you choose the Syncfusion® .NET MAUI Date Time Picker?
The Syncfusion® .NET MAUI Date Time Picker offers the following features:
- Customizable header text, validation buttons, and footer.
Customizable column headers for easy separation of date and time components, enhancing readability.
- 8 predefined formats to represent date values.
- 9 predefined formats to represent time values.
- A pop-up with a relative dialog mode to align the picker in a specific position.
- Minimum and maximum dates and times can be set to restrict selection.
- Tap and scroll interactions for selecting dates and times.
Intervals for date and time values.
Simple configuration and APIs.
- Touch-friendly UI.
Extensive demos, documentation, and videos let you get started quickly with the .NET MAUI Date Time Picker.
Where can I find the Syncfusion® .NET MAUI Date Time Picker demo?
You can find our .NET MAUI Date Time Picker demo here. It demonstrates how to render and configure the control.
Can I download and utilize the Syncfusion® .NET MAUI Date Time Picker for free?
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
How do I get started with the Syncfusion® .NET MAUI Date Time Picker?
A good place to start would be our comprehensive getting started documentation.
.NET MAUI DataViz & UI Controls
Our Customers Love Us
Here are some of their experiences.
Awards
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.