Skip to main content

HtmlEditorContextMenuItemCollection.Item[String] Property

Provides access to individual items in the collection by their command names.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

#Declaration

public HtmlEditorContextMenuItem this[string commandName] { get; }

#Parameters

Name Type Description
commandName String

A String value specifying the command name of the custom item to get.

#Property Value

Type Description
HtmlEditorContextMenuItem

An HtmlEditorContextMenuItem object that is an item with the specified command name.

#Remarks

The Item property allows you to obtain an item specified by a command name, assigned to its HtmlEditorContextMenuItem.CommandName property. If no such object is found, the property returns null.

See Also