Skip to main content
Tab

GridViewStyles.GroupRow Property

Specifies the appearance of group rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewGroupRowStyle GroupRow { get; }

Property Value

Type Description
GridViewGroupRowStyle

Style settings that specify the appearance of group rows.

Remarks

The GroupRow property allows you to specify the appearance of group rows in markup and in a CSS class.

Markup Example

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

CSS Example

#ASPxGridView1 .groupRowStyle {
    background-color: silver;
    color: white;
}
<dx:ASPxGridView ID="ASPxGridView1" runat="server">
    <%--...--%>
    <Settings ShowGroupPanel="true" />
    <Styles>
        <GroupRow CssClass="groupRowStyle" />
    </Styles>
</dx:ASPxGridView>
See Also