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

.NET MAUI DateTimePicker Default Dates

You can define preselected dates both in the DateTimePicker (the selected date) and in the spinner (the highlighted date).

Defining the Current Date Selection

Through the Date property of the DateTime? type you can define the current date selection. The default value is null.

<telerik:RadDateTimePicker Date="2020,05,15"

Add the following namespace:


Setting the Highlighted Date

The DefaultHighlightedDate property of type DateTime defines the System.DateTime, which will be used to pre-scroll each spinner when the Date property is set to null.

<telerik:RadDateTimePicker Date="{x:Null}"

Add the following namespace:

See Also

In this article