.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.
-
Define the TimePicker.
<telerik:RadTimePicker HourStep="2" MinuteStep="10" SecondStep="30"/>
-
Add the namespace.
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
See Also