Skip to main content

BootstrapListBoxField.SettingsMultiColumn Property

Specifies corresponding column settings when the control is in multi-column mode.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapListBoxFieldMultiColumnSettings SettingsMultiColumn { get; }

Property Value

Type Description
BootstrapListBoxFieldMultiColumnSettings

An instance of the BootstrapListBoxFieldMultiColumnSettings class that defines column settings.

Remarks

When a List Box is in multi-column mode, each field in a control’s Fields collection is rendered as a column. Use the field’s SettingsMultiColumn property to specify corresponding column settings (header, header’s tooltip, and width).

<dx:BootstrapListBox runat="server" DataSourceID="WWICountriesDataSource" EnableMultiColumn="true" ValueField="CountryID">
    <Fields>
        <dx:BootstrapListBoxField FieldName="IsoAlpha3Code">
            <SettingsMultiColumn Caption="Code" ToolTip="IsoAlpha3Code" Width="50px" />
        </dx:BootstrapListBoxField>
        <dx:BootstrapListBoxField FieldName="CountryName" />
        <dx:BootstrapListBoxField FieldName="Region" />
        <dx:BootstrapListBoxField FieldName="Subregion" />
    </Fields>
</dx:BootstrapListBox>

Bootstrap-ListBox-Multi-Column-Mode

Note

Online Demo: List Box - Multi Column

See Also