New to Telerik UI for .NET MAUI? Start a free 30-day trial
Date Ranges in .NET MAUI DatePicker
Updated on Jun 24, 2026
Use the Telerik UI for .NET MAUI DatePicker date-range settings when you want users to select a date only within a specific period. This is useful for scenarios such as booking windows, reporting periods, or restricting the control to valid business dates.
Use the following DatePicker properties to define the available date range:
MinimumDate(DateTime)—Defines the first available date in the range. The default value isDateTime(2000, 1, 1).MaximumDate(DateTime)—Defines the last available date in the range. The default value isDateTime(2099, 12, 31, 23, 59, 59).
Use a date range when you want to:
- Limit the available dates to a known time period.
- Prevent users from selecting dates outside a business rule.
- Guide users to a valid start and end period for data entry.
Example with Date Range
The following example defines a DatePicker that allows selection only within the 2020 calendar year.
- Define the DatePicker and set
MinimumDateandMaximumDate:
xaml
<telerik:RadDatePicker MinimumDate="2020,1,1"
MaximumDate="2020,12,31"
DisplayStringFormat="yyy-ddd-MMM" />
- Add the
teleriknamespace if it is not already declared in your XAML page:
xaml
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
In this configuration:
MinimumDateallows dates starting from January 1, 2020.MaximumDateallows dates up to December 31, 2020.DisplayStringFormatcontrols how the selected date is displayed in the input area.
The following image shows the result:
