HtmlEditorContextMenuItemCollection.Add(String, String) Method
In This Article
Adds a new context menu item to the collection and specifies the item’s display text and associated command name.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public HtmlEditorContextMenuItem Add(
string text,
string commandName
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | A String value that specifies the created context menu item’s display text. Initializes the item’s Html |
command |
String | A String value that identifies the executed command. This value is assigned to the Html |
#Returns
Type | Description |
---|---|
Html |
An Html |
#Remarks
Use the Add method to add a new menu item with the specified settings to the HtmlEditorContextMenuItemCollection object.
See Also