Radzen Blazor Components


Demonstration and configuration of the Radzen Blazor Numeric component.

Get and Set the value of Numeric link

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.

Get and Set the value of Numeric using Value and Change event link

Value property can be used to set the value of the component and Change event to get the user input.

Min set to 1 and Max set to 10 link

Placeholder and 0.5 step link

Without Up/Down link

Formatted value link

Align value link

Custom Value convert link

Custom Numeric Type Support link

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.

A Temperature type that implements IFormattable. Value in Celsius: 50.50 °C
A Dollars type that provides a TypeConverter, therefore Min, Max, and Step are supported.

Keyboard Navigation link

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.

Supercharge your Blazor development with Radzen Blazor Studio

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.

open_in_new Learn More
>Radzen Blazor Studio

Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Fluent
  • Material 3 Dark
  • Material Dark
  • Fluent Dark

Free Themes

  • Material
  • Standard
  • Default
  • Humanistic
  • Software
  • Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙