NumberInputTValue Class
Blazor Bootstrap NumberInputTValue> component is built around HTML input of type="number" that prevents the user input based on the parameters set.
Namespace: BlazorBootstrapAssembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class NumberInput<TValue> : BlazorBootstrapComponentBase
where TValue : struct, new(), INumber<TValue>
- Inheritance
- Object ComponentBase BlazorBootstrapComponentBase NumberInputTValue
Type Parameters
- TValue
- Signed number type that contains the value
| AllowNegativeNumbers |
If , allows negative numbers.
|
| Disabled |
Gets or sets the disabled state .
|
| EnableMinMax |
Determines whether to restrict the user input to Min and Max range.
If , restricts the user input between the Min and Max range. Else accepts the user input.
|
| Locale |
Gets or sets the locale. Default locale is 'en-US'.
|
| Max |
Gets or sets the max.
Max ignored if EnableMinMax="false".
|
| Min |
Gets or sets the min.
Min ignored if EnableMinMax="false".
|
| Placeholder |
Gets or sets the placeholder.
|
| Step |
The amount the number will increment or decrement by when the user clicks the up or down arrows.
|
| TextAlignment |
Gets or sets the text alignment.
|
| Value |
Gets or sets the value.
|
| ValueChanged |
This event fired on every user keystroke that changes the NumberInput value.
|
| ValueExpression |
An expression that identifies the bound value.
|