Skip to main content

BootstrapListEditItemCollection.Add(String, Object, String) Method

Adds a new item to the collection and specifies the item’s display text, image, and associated value.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public override ListEditItemBase Add(
    string text,
    object value,
    string iconCssClass
)

Parameters

Name Type Description
text String

A String value specifying the item’s display text.

value Object

A Object specifying the value associated with the item.

iconCssClass String

A String value specifying the CSS class of the image displayed within the item.

Returns

Type Description
ListEditItemBase

A ListEditItemBase object that is the newly created item.

See Also