Back to Devexpress

ASPxRoundPanel.HeaderTemplate Property

aspnet-devexpress-dot-web-dot-aspxroundpanel-0a8386d7.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(null)]
public virtual ITemplate HeaderTemplate { get; set; }
vb
<DefaultValue(Nothing)>
Public Overridable Property HeaderTemplate As ITemplate

Property Value

TypeDefaultDescription
ITemplatenull

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.

aspx
<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

RoundPanel

ASPxRoundPanel Class

ASPxRoundPanel Members

DevExpress.Web Namespace