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

ToolbarCustomCssListEditItemCollection.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.v19.2.dll

Declaration

public ToolbarCustomCssListEditItem Add(
    string text,
    object value,
    string imageUrl
)

Parameters

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 ToolbarCustomCssListEditItem.Value property.

imageUrl String

A string value that specifies the url of the item’s image. Initializes the ListEditItem.ImageUrl property.

Returns

Type Description
ToolbarCustomCssListEditItem

A ToolbarCustomCssListEditItem object representing the newly created item.

Remarks

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

See Also