blazor-devexpress-dot-blazor-dot-dxdropdownbox-add869d3.md
Specifies the width of the drop-down window.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(DropDownWidthMode.ContentOrEditorWidth)]
[Parameter]
public DropDownWidthMode DropDownWidthMode { get; set; }
| 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.
|
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.
ContentWidth - The window width is equal to the content width.
EditorWidth - The window width matches the editor. Content is cropped if it does not fit.
See Also