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

IDropDownBox.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)]
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

Refer to the DropDownWidthMode property description for more information and an example.

See Also