DropDownWidthMode Enum
Lists values that specify the width of a drop-down list.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum DropDownWidthMode
Members
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. |
Related API Members
The following properties accept/return DropDownWidthMode values:
Remarks
The default width of drop-down lists is set to ContentOrEditorWidth
.
The following code sets the width of the drop-down list to the editor width.
@using BlazorApp.Data
<DxTagBox Data="@Staff.DataSource"
TextFieldName="@nameof(Person.Text)"
DropDownWidthMode="DropDownWidthMode.EditorWidth">
</DxTagBox>
See Also