Skip to main content
Tab

PopupWindowCollection.Add(String, String) Method

Adds a new popup window to the collection and specifies the window’s content text and name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public PopupWindow Add(
    string contentText,
    string name
)

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 identifies the created popup window. Initializes the window’s PopupWindow.Name 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