ToolbarListEditItemCollection.Add(String, Object, String) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v21.1.dll


public ToolbarListEditItem Add(
    string text,
    object value,
    string imageUrl


Name Type Description
text String

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

value Object

An object that represents the item’s value. This value is assigned to the ListEditItem.Value property.

imageUrl String

A String value specifying the path to the image displayed by the item. This value is assigned to the ListEditItem.ImageUrl property.


Type Description

A ToolbarListEditItem object representing the newly created item.


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

See Also