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

HtmlEditorCustomDialogs.Add(String, 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.v18.2.dll

Declaration

public HtmlEditorCustomDialog Add(
    string name,
    string caption,
    string formPath
)

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.

formPath String

A String value that specifies the path to the created custom dialog’s content. This value is assigned to the HtmlEditorCustomDialog.FormPath 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