blazor-devexpress-dot-blazor-dot-dxspinedit-1-97d3c2d6.md
Specifies the increment value for the Spin Edit.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public T Increment { get; set; }
| Type | Description |
|---|---|
| T |
A unit value. The default value is 1.
|
The Increment property specifies the value added to/subtracted from the editor’s value each time a user performs the following actions:
<DxSpinEdit @bind-Value="DecimalValue"
Increment="0.1M"
MinValue="0M"
MaxValue="1M" />
@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.
Run Demo: Spin Edit - Custom Increment
See Also