aspnet-devexpress-dot-web-dot-gridviewstyles.md
Specifies the appearance of the Group Panel.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public GridViewGroupPanelStyle GroupPanel { get; }
Public ReadOnly Property GroupPanel As GridViewGroupPanelStyle
| Type | Description |
|---|---|
| GridViewGroupPanelStyle |
Style settings that specify the appearance of the Group Panel.
|
Set the ShowGroupPanel property to true to display the Group Panel.
The GroupPanel property allows you to specify the appearance of the Group Panel in markup and in a CSS class.
<dx:ASPxGridView ID="ASPxGridView1" runat="server">
<%--...--%>
<Settings ShowGroupPanel="true" />
<Styles>
<GroupPanel BackColor="Silver" ForeColor="White" />
</Styles>
</dx:ASPxGridView>
#ASPxGridView1 .groupPanelStyle {
background-color: silver;
color: white;
}
<dx:ASPxGridView ID="ASPxGridView1" runat="server">
<%--...--%>
<Settings ShowGroupPanel="true" />
<Styles>
<GroupPanel CssClass="groupPanelStyle" />
</Styles>
</dx:ASPxGridView>
See Also