Skip to main content
A newer version of this page is available. .
Tab

ASPxRoundPanel.HeaderTemplate Property

Gets or sets a template used to display the content of the round panel’s header.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(null)]
public virtual ITemplate HeaderTemplate { get; set; }

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 panel’s header.

Remarks

Note

Once a template defined via the HeaderTemplate property is created within a control, it is instantiated within a container object of the RoundPanelHeaderTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

Example

The complete sample project is available in the DevExpress Code Central database at E143.

function OnExpandCollapseButtonClick(s, e) {
    var isVisible = ContentPanel.GetClientVisible();
    s.SetText(isVisible ? "+" : "-");
    ContentPanel.SetClientVisible(!isVisible);
}
See Also