Skip to main content
All docs
V25.2
  • DxRibbonSpinEditItem<TValue>.MinValue Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(null)]
    [Parameter]
    public TValue MinValue { get; set; }

    Property Value

    Type Default Description
    TValue null

    The minimum editor value. The value type should be equal to the type of the Value property.

    Remarks

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

    ...
    <DxRibbonSpinEditItem Value="@CurrentFontSize"
                          ValueChanged="@((int newSize) => OnFontSizeChanged(newSize))"
                          MinValue="6"
                          MaxValue="32"
                          Increment="2"
                          Width="100px"/>
    ...
    @code {
        private int CurrentFontSize { get; set; } = 8;
    
        void OnFontSizeChanged(int newSize) {
            // Your code
        }
    }
    

    SpinEdit Ribbon Item

    Implements

    DevExpress.Blazor.Ribbon.IRibbonSpinEdit<TValue>.MinValue
    See Also