Demonstration and configuration of the Radzen Blazor DatePicker component.
As all Radzen Blazor input components the DatePicker has a Value property which gets and sets the value of the component. Use @bind-Value
to get the user input.
Value property can be used to set the value of the component and Change
event to get the user input.
The Radzen Blazor DatePicker has a parameter named ParseInput
which allows for a fully custom parse-method. This way you can accept inputs like '3012' or '30122023' and support more than one input-format. Click on the 'Edit Source' to see the implementation.
Value
property can be bound to values of type DateOnly
or TimeOnly
The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor DatePicker component.
Press this key | To do this |
---|---|
Tab | Navigate to a DatePicker component. |
Tab on open popup | Navigate forward across available picker components. |
Shift + Tab on open popup | Navigate backward across available picker components. |
Right Arrow on open popup | Select previous day. |
Left Arrow on open popup | Select next day. |
Up Arrow on open popup | Select same day from previous week. |
Down Arrow on open popup | Select same day from next week. |
Enter in an opened popup | Select the focused day and close the popup. |
Esc in an opened popup | Close the popup. |
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT