Skip to main content
Tab

GridViewTemplates.TitlePanel Property

Specifies a template to display the title panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
ITemplate null

An object that implements the ITemplate interface.

Remarks

Set the ShowTitlePanel property value to true to show the title panel.

ASPxGridView.Templates - TitlePanel

<dx:ASPxGridView ID="grid" runat="server" AutoGenerateColumns="false">
    <Settings ShowTitlePanel="true" />
    <Templates>
        <TitlePanel>
            <dx:ASPxHyperLink ID="ASPxHyperLink1" runat="server" Text="ASPxGridView Title Panel"
                NavigateUrl="https://demos.devexpress.com/ASPxGridViewDemos/Default.aspx">
            </dx:ASPxHyperLink>
        </TitlePanel>
    </Templates>
    <%--...--%>
</dx:ASPxGridView>

When you specify the TitlePanel property, the grid control creates a template within a container object of the GridViewTitleTemplateContainer type.

Refer to the Create Templates topic for information on how to create templates for the Grid View control’s elements.

See Also