Skip to main content
Tab

PopupWindowCollection.Add(String, String, String, String) Method

Adds a new popup window to the collection and specifies the content text , name, header text and footer text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public PopupWindow Add(
    string contentText,
    string name,
    string headerText,
    string footerText
)

Parameters

Name Type Description
contentText String

A String value specifying the popup window’s content text. Initializes the window’s PopupWindow.Text property.

name String

A String value specifying the name which idntifies the created popup window. Initializes the window’s PopupWindow.Name property.

headerText String

A String value specifying the popup window’s header text. Initializes the window’s PopupWindow.HeaderText property.

footerText String

A String value specifying the popup window’s footer text. Initializes the window’s PopupWindow.FooterText property.

Returns

Type Description
PopupWindow

A PopupWindow object representing the newly created popup window.

Remarks

Use the Add method to add a new popup window with the specified settings to the PopupWindowCollection object.

See Also