Skip to main content

PopupWindowCollection.Add(String, String, String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


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


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 identifies 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.HeaderTemplate property.


Type Description

A PopupWindow object representing the newly created popup window.


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

See Also