All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

BootstrapListBoxFieldMultiColumnSettings.Caption Property

Specifies a column's caption.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DefaultValue("")]
public string Caption { get; set; }
<DefaultValue("")>
Public Property Caption As String

Property Value

Type Default Description
String

String.Empty

A column's caption.

Property Paths

You can access this nested property as listed below:

Object Type Path to Caption
BootstrapListBoxField

Remarks

When a control is in multi-column mode, it generates column headers based on corresponding field names from a bound data source. Use the field's Caption property to override these header names.

NOTE

To customize other column settings, use the ToolTip and Width properties.

<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