Skip to main content

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

BaseListBoxControl.MultiColumn Property

Gets or sets whether to arrange items across multiple columns if the ListBox cannot fit all items vertically.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool MultiColumn { get; set; }

#Property Value

Type Default Description
Boolean false

true to arrange items across multiple columns; otherwise, false.

#Remarks

Set the MultiColumn property to true to arrange items across multiple columns if the ListBox cannot fit all items vertically. The number of columns dependents on the ListBox control’s width and ColumnWidth setting:

The ColumnWidth property specifies the column width in pixels. If this property is not specified, the Listbox control automatically calculates the column width based on the width of the longest item.

listBoxControl1.MultiColumn = true;
listBoxControl1.ColumnWidth = 150;
See Also