DxSpinEdit<T>.MaxValue Property
Specifies the Spin Edit’s maximum value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v21.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public T MaxValue { get; set; }
Property Value
Type | Description |
---|---|
T | A delegate method that accepts the editor value type as a parameter. |
Remarks
To specify the Spin Edit’s minimum value, use the MinValue property.
The example below demonstrates how to customize the <DxSpinEdit>
so it accepts the specified range of values (from 0 to 1).
<DxSpinEdit @bind-Value="DecimalValue" Increment="0.1m" MinValue="0" MaxValue="1" />
@code {
Decimal DecimalValue { get; set; } = 0.5m;
}
See Also