Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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