Numeric component (Blazor)
This article demonstrates how to use Numeric component. Check also the component guide and API reference.
Numeric Properties
Name | Type | Default | Description |
---|---|---|---|
Name | string | ‘numeric’ + index suffix | Unique name of the Numeric. |
TItem | type | null | Numeric value type. |
Value | object | null | Numeric value. |
Placeholder | string | empty | Numeric placeholder. |
Step | number | 1 | Numeric step factor to increment/decrement the value. |
Min | number | null | Numeric mininum boundary value. |
Max | number | null | Numeric maximum boundary value. |
ReadOnly | boolean/expression | false | Is Numeric read-only. |
Disabled | boolean/expression | false | Is Numeric disabled. |
Visible | boolean/expression | true | Is Numeric visible. |
Style | string | null | In-line CSS style. |
For more info about expressions please visit expressions in our documentation.
Numeric Events
Name | Type | Default | Description |
---|---|---|---|
Change | event | null | Change event of the Numeric. New value as event argument. |
For more info about event actions please visit event actions in our documentation.
Blazor declaration
<RadzenNumeric TItem="int?" Placeholder="Enter or clear value" Change="@NumericChanged" />