DxSpinEdit<T>.Increment Property
Specifies the increment value for the Spin Edit.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.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 |
Remarks
The Increment
property specifies the value added to/subtracted from the editor’s value each time a user performs the following actions:
- Clicks the increment or decrement spin button.
- Scrolls the mouse wheel while the editor is focused.
- Press the UP ARROW or DOWN ARROW key while the editor is focused.
<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.
See Also