New to Telerik UI for Blazor? Download Free 30-day trial
DatePicker - Incremental Steps
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Focus the date input and use the
Up
and Down
arrows to change the selected date and time. They change with the increment steps defined in the code, not by the default 1.
Steps: Year: 2, Month: 3, Day: 5
- Incremental-steps.razor
Loading the demo source code...please wait.
Description
The Blazor Date Picker component lets you change the value of each date segment with the keyboard - you can either type, or use the Up
and Down
arrows. When you use the arrows, the value changes with 1
by default. You can, however, configure the component to change each segment with a predefined step by using its DatePickerSteps
child tag.
This Blazor DatePicker Incremental Steps example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.