Skip to main content
Tab

PopupWindow.Text Property

Gets or sets the text displayed within the window’s content region.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string Text { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the window’s content text.

Remarks

Use the Text property to specify the text displayed within the window’s content region. The position of the content text is specified by the AppearanceStyleBase.HorizontalAlign and AppearanceStyleBase.VerticalAlign properties available via the window’s PopupWindow.ContentStyle property.

Note that a popup window’s content text set via the Text property is displayed even if the window’s ContentControlCollectionItem.Controls (ASPxPopupControlBase.Controls) collection is not empty. The Text property is not in effect only when a window’s content template is defined (via the PopupWindow.ContentTemplate property).

Note

When the ASPxPopupControl.Windows collection is not empty, the value of a popup control’s ASPxPopupControlBase.Text property is not in effect and cannot be used to specify a common content text for all popup windows. In this case, each window’s Text property should be set to a specific individual value which typically can be taken from the bound data source.

See Also