Skip to main content

MVCxHtmlEditorCustomDialogs.Add(String, String) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxHtmlEditorCustomDialog 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
MVCxHtmlEditorCustomDialog

An MVCxHtmlEditorCustomDialog 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 MVCxHtmlEditorCustomDialogs object.

See Also