Skip to main content

BootstrapListBoxFieldMultiColumnSettings Class

Defines column settings for a List Box and Combo Box in multi-column mode.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public class BootstrapListBoxFieldMultiColumnSettings :
    PropertiesBase

The following members return BootstrapListBoxFieldMultiColumnSettings objects:

Remarks

When a control is in multi-column mode, each field in the control’s Fields collection is rendered as a column. Use the field’s SettingsMultiColumn property to specify corresponding column settings. This property returns an object of the BootstrapListBoxFieldMultiColumnSettings type that allows you to set up a column’s 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

Inheritance

Object
StateManager
PropertiesBase
BootstrapListBoxFieldMultiColumnSettings
See Also