TimeSpan Ranges

The TimeSpanPicker allows you to define a time-span range and choose a time interval within that range through the following properties:

  • MinimumTime(TimeSpan)—Defines the lowest limit of the available selection range. The default value is TimeSpan(0, 0, 0, 0, 0).

  • MaximumTime(TimeSpan)—Defines the uppermost limit of the available selection range. The default value is TimeSpan(30, 23, 59, 59).

If you set a negative value for MinimumTime, the TimeSpanPicker will consider this value to be the minimum TimeSpan(0, 0, 0, 0, 0) value.

The following example shows how to set the time ranges.

Define the TimeSpanPicker.

<telerik:RadTimeSpanPicker MinimumTime="0:0:00:00"
                                MaximumTime="8:00:00:0"/>

Add the namespace.

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

See Also

In this article
Not finding the help you need?