Skip to main content
Tab

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.v24.2.dll

Declaration

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

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.

headerText String

A String value specifying the popup window’s header text. Initializes the window’s PopupWindow.HeaderTemplate 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