ToolbarItemPickerItemCollection.Add(String, String, String, String) Method
Creates a new item with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ToolbarItemPickerItem Add(
string value,
string text,
string imageUrl,
string toolTip
)
#Parameters
Name | Type | Description |
---|---|---|
value | String | A String that represents the validated value. This value is assigned to the Toolbar |
text | String | A String value that specifies the created toolbar item’s display text. This value is assigned to the Toolbar |
image |
String | A String value specifying the path to the image displayed by the item. This value is assigned to the Image |
tool |
String | A String value that specifies the created toolbar item’s tooltip text. This value is assigned to the Toolbar |
#Returns
Type | Description |
---|---|
Toolbar |
A Toolbar |
#Remarks
Use the Add method to add a new item with the specified settings to the end of the ToolbarItemPickerItemCollection object.