Skip to main content

PopupControlSettingsBase.HeaderText Property

Gets or sets the text content of a popup window’s (or a dock panel’s) header.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string HeaderText { get; set; }

Property Value

Type Description
String

A string value that specifies a header text.

Remarks

Use the HeaderText property to specify the text displayed within a popup window’s (or a dock panel’s) header. The position of the text within the header is specified by the AppearanceStyleBase.HorizontalAlign and AppearanceStyleBase.VerticalAlign properties, available via the PopupControlStyles.Header property (via PopupControlSettingsBase.Styles.Header).

If a specific navigation location is assigned to a window’s header (e.g. via the PopupControlSettingsBase.HeaderNavigateUrl property), the header text set by the HeaderText property serves as a link, and a click on it navigates the application to the specified location.

Note

For PopupControl only:

If the PopupControlSettings.Windows collection is empty, the HeaderText property is applied to a default popup window. Otherwise, the HeaderText property specifies a common header text for all popup windows from the PopupControlSettings.Windows collection. In this case, the HeaderText property’s value can be overridden by using the PopupWindow.HeaderText property of individual windows.

See Also