New to Telerik UI for .NET MAUI? Start a free 30-day trial
.NET MAUI TimePicker Time Steps
By default, the TimePicker increments each part of its time values by one step.
You can change the default setup using the following properties:
HourStep
(int
)—Controls the incremental step of the hour value. The default value is1
.MinuteStep
(int
)—Controls the incremental step of the minute value. The default value is1
.SecondStep
(int
)—Controls the incremental step of the second value. The default value is1
.
The following example shows how to set the time steps.
1. Define the TimePicker:
XAML
<telerik:RadTimePicker HourStep="2"
MinuteStep="10"
SecondStep="30"/>
2. Add the namespace.
XAML
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"