blazor-devexpress-dot-blazor-dot-dxspinedit-1-e1d809c3.md
Specifies the Spin Edit’s maximum value.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public T MaxValue { get; set; }
| Type | Description |
|---|---|
| T |
The maximum editor value. The value type should be equal to the type of the Value property.
|
To specify the Spin Edit’s minimum value, use the MinValue property.
The following code snippet customizes the <DxSpinEdit> so it accepts the specified range of values (from 0 to 1).
<DxSpinEdit @bind-Value="DecimalValue"
MinValue="0M"
MaxValue="1M" />
@code {
Decimal DecimalValue { get; set; } = 0.5M;
}
Note
MinValue and MaxValue.Run Demo: Spin Edit - Custom Increment
See Also