Skip to main content

BootstrapTagBox.IconCssClassField Property

Gets or sets the data source field that provides names of CSS classes that define images displayed within tag elements.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue("")]
[Themeable(false)]
public string IconCssClassField { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the name of the data source field from which the editor obtains CSS class names.

Remarks

If a tag editor is data bound (using the ASPxAutoCompleteBoxBase.DataSourceID or ASPxAutoCompleteBoxBase.DataSource property), the editor populates its BootstrapTagBox.Items collection by retrieving items from the specified data source and obtaining item characteristics (such item texts, values or displayed images) from specific data fields. Use the IconCssClassField property to specify the data source field from which the item image CSS classes should be obtained.

This property is a wrapper of the BootstrapTagBoxProperties.IconCssClassField property. Please refer to its description for more information.

See Also