Skip to main content

HtmlEditorCustomDialogs.Add(String, String) Method

Creates a new custom dialog with the specified settings and adds it to the collection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public HtmlEditorCustomDialog Add(
    string name,
    string caption
)

Parameters

Name Type Description
name String

A String value that specifies the created custom dialog’s name. This value is assigned to the HtmlEditorCustomDialog.Name property.

caption String

A String value that specifies the created custom dialog’s caption. This value is assigned to the HtmlEditorCustomDialog.Caption property.

Returns

Type Description
HtmlEditorCustomDialog

An HtmlEditorCustomDialog object representing the newly created dialog.

Remarks

Use the Add method to add a new dialog with the specified settings to the end of the HtmlEditorCustomDialogs object.

See Also