BootstrapListBoxFieldMultiColumnSettings.Caption Property
Specifies a column’s caption.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
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.
<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>
Note
Online Demo: List Box - Multi Column
See Also