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

HtmlEditorContextMenuItemCollection.Add() Method

Adds a new context menu item to the end of the collection and returns the newly created object.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

public HtmlEditorContextMenuItem Add()

Returns

Type Description
HtmlEditorContextMenuItem

An HtmlEditorContextMenuItem object that is the newly created item.

Remarks

Use the Add method to add a new context menu item with the default settings to the HtmlEditorContextMenuItemCollection object. You can modify properties of the obtained object to control the appearance and behavior of the added item.

See Also