DxSpinEdit<T>.Value Property
Specifies the Spin Edit value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public T Value { get; set; }
Property Value
Type | Description |
---|---|
T | A delegate method that accepts the editor value type as a parameter. |
Remarks
Use the Value property to specify an editor’s value or to bind the value to a data source object:
<DxSpinEdit Value="15"></DxSpinEdit>
<DxSpinEdit @bind-Value="@DecimalValue"></DxSpinEdit>
@code {
Decimal DecimalValue { get; set; } = 15;
}
To respond to the value change, handle the ValueChanged event.
The Spin Edit supports the following data types:
- Integer numeric data types
- Floating-point numeric types
- Nullable types of all the types listed above
See Also