Skip to main content
All docs
V26.1
  • DxRibbonEditItemBase<TValue>.Width Property

    Specifies data editor width.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v26.1.dll

    Declaration

    [DefaultValue("auto")]
    [Parameter]
    public string Width { get; set; }

    Property Value

    Type Default Description
    String "auto"

    The width in CSS units.

    Remarks

    Use the Width property to specify the size of a Spin Editor or Combo Box Ribbon item.

    The following code snippet sets the width of the Spin Editor to 100 pixels:

    <DxRibbon>
        <DxRibbonTab Text="Home">
            <DxRibbonGroup>
                <DxRibbonSpinEditItem Width="100px"
                                      MinValue="1"
                                      MaxValue="8" />
            </DxRibbonGroup>
        </DxRibbonTab>
    </DxRibbon>
    
    See Also