HtmlEditorContextMenuItemCollection.Add(String) Method
Adds a new context menu item to the collection and specifies the item’s display text.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
text | String | A String value that specifies the created context menu item’s display text. Initializes the item’s HtmlEditorContextMenuItem.Text property. |
Returns
Type | Description |
---|---|
HtmlEditorContextMenuItem | An HtmlEditorContextMenuItem object that is the newly created item. |
Remarks
Use the Add method to add a new menu item with the specified text to the HtmlEditorContextMenuItemCollection object.
See Also