Skip to main content

BootstrapListEditItemCollection.Add(String) Method

Adds a new item to the collection and specifies the item’s display text.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapListEditItem Add(
    string text
)

Parameters

Name Type Description
text String

A String value specifying the item’s display text.

Returns

Type Description
BootstrapListEditItem

A BootstrapListEditItem object that represents the newly created item.

Remarks

List editors allow their items to be manipulated (new items can be added or existing ones deleted). For example, this may be useful when you need to dynamically change the set of items displayed by a list editor dependent upon the selection made by an end user.

Use the Add method to add a new item with the specified display text to the BootstrapListEditItemCollection object.

See Also