Skip to main content
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.v24.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

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