BootstrapAccordionItemDataFields.IconCssClassField Property
Gets or sets the name of a data field (or an xml element’s attribute) which provides CSS class names for images displayed within items.
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 string value that specifies the name of the required data source field. |
Remarks
The IconCssClassField property is in effect if the BootstrapAccordionItemDataFields control is bound to a data source.
Use the IconCssClassField property to specify the bound data source’s data field (or an xml element’s attribute) which stores names of CSS classes defining images that should be displayed within items. The IconCssClassField property maps the BootstrapAccordionItem.IconCssClass properties of the BootstrapAccordionItem objects to the specified data field’s values.
If the IconCssClassField property of a data bound BootstrapAccordionItemDataFields control is not defined, the control can automatically obtain item image locations from a data field which is named “IconCssClass”.