Skip to main content

HtmlEditorShortcutCollection.Add(String, String, ActionType) Method

Adds a new shortcut to the collection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

Declaration

public HtmlEditorShortcut Add(
    string shortcut,
    string actionName,
    ActionType actionType
)

Parameters

Name Type Description
shortcut String

A String value specifying the keyboard combination that invokes the current shortcut’s functionality.

actionName String

A String value specifying a name of an executed command or displayed custom dialog.

actionType ActionType

One of the ActionType enumeration values.

Returns

Type Description
HtmlEditorShortcut

An HtmlEditorShortcut object that is a newly created item.

See Also