ASPxPopupControl.WindowHeaderTemplate Property
Gets or sets a common template used to display the header of all popup windows from the ASPxPopupControl.Windows collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
ITemplate | null | An object that supports the System.Web.UI.ITemplate interface and contains a template used to display the content of a window’s header. |
Remarks
Use the WindowHeaderTemplate property to specify a common header template for all popup windows from the ASPxPopupControl.Windows collection. The template defined using this property replaces the content of a window’s header; in particular, the image, text and close button displayed with the header. The WindowHeaderTemplate property’s value can be overridden by the PopupWindow.HeaderTemplate property of individual windows.
Note that any style settings defined for the header via specific properties (such as the ASPxPopupControl.HeaderStyle or PopupWindow.HeaderStyle) are still in effect for a window’s header whose content is specified through the WindowHeaderTemplate property.
Note
If the ASPxPopupControl.Windows collection is empty, the WindowHeaderTemplate property is not in effect and the default popup window‘s header template can be defined by the ASPxPopupControlBase.HeaderTemplate property.
Note
Once a template defined via the WindowHeaderTemplate property is created within a popup control, it is instantiated within a container object of the PopupControlTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.