Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxDropDownBox.DropDownWidthMode Property

Specifies the width of the drop-down window.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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