Demonstration and configuration of the Radzen Blazor Numeric component.
As all Radzen Blazor input components the Numeric 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.
Types that can be converted from a string, via a TypeConverter
or assigning ConvertValue
, get basic support from Numeric. If the type implements a TypeConverter that can convert to/from decimal, then Step
and Min
/Max
are supported. If the type implements IFormattable
, Format
strings will be passed to it.
Temperature
type that implements IFormattable
. Value in Celsius: 50.50 °CDollars
type that provides a TypeConverter
, therefore Min
, Max
, and Step
are supported.The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor Numeric component.
Press this key | To do this |
---|---|
Tab | Navigate to a Numeric component. |
Up arrow in a focused Numeric. | Increase the Numeric value with the Step configured. |
Down arrow in a focused Numeric. | Decrease the Numeric value with the Step configured. |
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