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.v21.1.dll


public T Increment { get; set; }

Property Value

Type Description

A unit value. The default value is 1.


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;

SpinEdit Increment

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