GridViewStyles.TitlePanel Property
Specifies the appearance of the Title Panel.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GridViewTitleStyle | Style settings that specify the appearance of the title panel. |
Remarks
The TitlePanel
property allows you to specify the appearance of the Title Panel in markup and in a CSS class.
To display the Title Panel in the grid, set the ShowTitlePanel property to true
. To specify the text within the panel, use the Title property.
Markup Example
<dx:ASPxGridView ID="Grid" runat="server">
<!-- ... -->
<Settings ShowTitlePanel="true" />
<SettingsText Title="ASPxGridView Title" />
<Styles>
<TitlePanel BackColor="SeaShell" ForeColor="Black">
<Border BorderWidth="1px" BorderColor="#eeeeee" />
<BorderBottom BorderWidth="0px" />
</TitlePanel>
</Styles>
</dx:ASPxGridView>
CSS Example
.MyGrid .titlePanelStyle {
border-width: 1px 1px 0px 1px;
border-style: solid;
border-color: rgba(0,0,0,0.1);
background-color: seashell;
color: black;
}
<dx:ASPxGridView ID="Grid" runat="server" CssClass="MyGrid">
<!-- ... -->
<Settings ShowTitlePanel="true" />
<SettingsText Title="ASPxGridView Title" />
<Styles>
<TitlePanel CssClass="titlePanelStyle" />
</Styles>
</dx:ASPxGridView>
See Also