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.1.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.