DxSpinEdit<T>.Increment Property
Specifies the value by which the Spin Edit’s value changes when users click the increment and decrement spin buttons.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public T Increment { get; set; }
Property Value
Type | Description |
---|---|
T | A unit value. The default value is 1. |
Remarks
Use the Increment property to change the Spin Edit’s unit value. This value is added to/subtracted from the Value property value each time a user clicks the increment/decrement spin button.
<DxSpinEdit @bind-Value="DecimalValue" Increment="0.1m" MinValue="0" MaxValue="1" />
@code {
Decimal DecimalValue { get; set; } = 0.5m;
}
The data type of the Value and Increment property values should match. For instance, an error occurs if you specify an integer value and floating-point increment.
See Also