aspnet-devexpress-dot-web-dot-aspxroundpanel-0a8386d7.md
Gets or sets a template used to display the content of the round panel’s header.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(null)]
public virtual ITemplate HeaderTemplate { get; set; }
<DefaultValue(Nothing)>
Public Overridable Property HeaderTemplate As ITemplate
| 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.
|
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.
Refer to the following demo for a full example: Pivot Grid - OLAP Multiple KPI.
<dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="200px" Visible="False">
<!-- ... -->
<HeaderTemplate>
<table style="width: 520px;">
<tr>
<th style="width: 200px;">
KPI Name
</th>
<th style="width: 110px; text-align: center;">
Value
</th>
<th style="width: 110px; text-align: center;">
Goal
</th>
<th style="width: 50px; text-align: center;">
Status
</th>
<th style="width: 50px; text-align: center;">
Trend
</th>
</tr>
</table>
</HeaderTemplate>
</dx:ASPxRoundPanel>
See Also