Skip to main content

MVCxPopupWindowCollection.Add(String, String, String, String) Method

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxPopupWindow Add(
    string text,
    string name,
    string headerText,
    string footerText
)

Parameters

Name Type Description
text String

A String value specifying the popup window’s content text. This value is assigned to the PopupWindow.Text property.

name String

A String value specifying the name which indentifies the created popup window. This value is assigned to the PopupWindow.Name property.

headerText String

A String value specifying the popup window’s header text. This value is assigned to the PopupWindow.HeaderText property.

footerText String

A String value specifying the popup window’s footer text. This value is assigned to the PopupWindow.FooterText property.

Returns

Type Description
MVCxPopupWindow

An MVCxPopupWindow object representing the newly created popup window.

Remarks

Use the Add method to add a new popup window with the specified settings to the end of the MVCxPopupWindowCollection object.

See Also