Skip to main content

DxSpinEditSettings.MaxValue Property

Specifies the maximum value that a user can enter in a spin editor.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public object MaxValue { get; set; }

Property Value

Type Default Description
Object null

The maximum editor value. The value type should match the data type of values in the corresponding column.


Use MinValue and MaxValue properties to specify a range of values available for selection in a spin editor.

@inject ProductService ProductData

<DxGrid Data="@products" ShowFilterRow="true" PageSize="4"
        <DxGridCommandColumn />
        <DxGridDataColumn FieldName="ProductID" >
                <DxSpinEditSettings ShowSpinButtons="false" ReadOnly="true" />
        <DxGridDataColumn FieldName="ProductName" />
        <DxGridDataColumn FieldName="UnitPrice" DisplayFormat="c" />
        <DxGridDataColumn FieldName="UnitsInOrder" >
                <DxSpinEditSettings MinValue="12" MaxValue="48" Increment="6" />

@code {
    private Product[]? products;
    protected override async Task OnInitializedAsync() {
        products = await ProductData.GetData();

Spin Edit Extreme Values

To change the maximum spin editor value at runtime, use the ISpinEditSettings.MaxValue property instead.


See Also