Skip to main content

ToolbarListEditItemCollection.Add(String) Method

Creates a new item with the specified setting and adds it to the collection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

Declaration

public ToolbarListEditItem Add(
    string text
)

Parameters

Name Type Description
text String

A String value that specifies the item’s text. Initializes the ListEditItem.Text property.

Returns

Type Description
ToolbarListEditItem

A ToolbarListEditItem object representing the newly created item.

Remarks

Use the Add method to add a new item with the specified setting to the end of the ToolbarListEditItemCollection object.

See Also