Back to Devexpress

IDropDownBox.DropDownWidthMode Property

blazor-devexpress-dot-blazor-dot-idropdownbox-ba76ad6a.md

latest1.3 KB
Original Source

IDropDownBox.DropDownWidthMode Property

Specifies the width of the drop-down window.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
DropDownWidthModeContentOrEditorWidth

Width mode.

|

Available values:

NameDescription
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 additional information and an example.

See Also

IDropDownBox Interface

IDropDownBox Members

DevExpress.Blazor Namespace