Back to Devexpress

GridViewStyles.GroupPanel Property

aspnet-devexpress-dot-web-dot-gridviewstyles.md

latest2.2 KB
Original Source

GridViewStyles.GroupPanel Property

Specifies the appearance of the Group Panel.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public GridViewGroupPanelStyle GroupPanel { get; }
vb
Public ReadOnly Property GroupPanel As GridViewGroupPanelStyle

Property Value

TypeDescription
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

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

CSS Example

css
#ASPxGridView1 .groupPanelStyle {
    background-color: silver;
    color: white;
}
aspx
<dx:ASPxGridView ID="ASPxGridView1" runat="server">
    <%--...--%>
    <Settings ShowGroupPanel="true" />
    <Styles>
        <GroupPanel CssClass="groupPanelStyle" />
    </Styles>
</dx:ASPxGridView>

See Also

GridViewStyles Class

GridViewStyles Members

DevExpress.Web Namespace