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

Time Ranges in .NET MAUI TimePicker

The TimePicker allows you to define a time range and choose a time within that range through the following properties:

  • MinimumTime(TimeSpan)—Defines a time which marks the beginning of the range of the available time values. The default value is TimeSpan.Zero.

  • MaximumTime(TimeSpan)—Defines a time which marks the end of the range of the available time values to choose from. The default value is TimeSpan(23, 59, 59).

The following example shows how to set the time ranges.

1. Define the TimePicker:

<telerik:RadTimePicker MinimumTime="8:00:00"
                         MaximumTime="19:00:00"/>

1. Add the namespace:

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

See Also

In this article