New to Telerik UI for .NET MAUI? Start a free 30-day trial

Date Ranges

The DatePicker allows you to define a date range and choose a date within that range.

To implement date ranges, use the following DatePicker properties:

  • MinimumDate(DateTime)—Defines a date, which marks the beginning of the range of the available dates. The default value is DateTime(2000,1,1).

  • MaximumDate(DateTime)—Defines a date, which marks the end of the range of the available dates to choose from. The default value is DateTime(2099, 12, 31, 23, 59, 59).

The following example demonstrates how to set date ranges in the DatePicker.

Define the control and the date ranges.

<telerik:RadDatePicker MinimumDate="2020,1,1"
                            MaximumDate="2020,12,31"
                            DisplayStringFormat="yyy-ddd-MMM"/>

Add the following namespace:

xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"

See Also

In this article
Not finding the help you need?