Skip to main content
All docs
V25.1
  • DxDropDownBox.DropDownWidthMode Property

    Specifies the width of the drop-down window.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(DropDownWidthMode.ContentOrEditorWidth)]
    [Parameter]
    public DropDownWidthMode DropDownWidthMode { get; set; }

    Property Value

    Type Default Description
    DropDownWidthMode ContentOrEditorWidth

    Width mode.

    Available values:

    Name Description
    ContentOrEditorWidth

    The list displays item text completely. The minimum list width matches the editor.

    ContentWidth

    The list width is equal to the width of the longest list item.

    EditorWidth

    The list width matches the editor. List items are cut if they do not fit.

    Remarks

    Use the DropDownWidthMode property to specify the width of the drop-down window. The following values are available:

    • ContentOrEditorWidth (Default) - The window displays content completely. The minimum window width matches the editor.

      ComboBox Content or Editor Width

    • ContentWidth - The window width is equal to the content width.

      ComboBox Content Width

    • EditorWidth - The window width matches the editor. Content is cropped if it does not fit.

      ComboBox Editor Width

    Implements

    See Also