Skip to main content
Tab

GridViewStyles.GroupPanel Property

Specifies the appearance of the Group Panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public GridViewGroupPanelStyle GroupPanel { get; }

#Property Value

Type Description
GridViewGroupPanelStyle

Style settings that specify the appearance of the Group Panel.

#Remarks

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.

#Markup Example

<dx:ASPxGridView ID="ASPxGridView1" runat="server">
    <%--...--%>
    <Settings ShowGroupPanel="true" />
    <Styles>
        <GroupPanel BackColor="Silver" ForeColor="White" />
    </Styles>
</dx:ASPxGridView>

#CSS Example

#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