Back to Devexpress

GridViewStyles.GroupRow Property

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

latest1.8 KB
Original Source

GridViewStyles.GroupRow Property

Specifies the appearance of group rows.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public GridViewGroupRowStyle GroupRow { get; }
vb
Public ReadOnly Property GroupRow As GridViewGroupRowStyle

Property Value

TypeDescription
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

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

CSS Example

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

See Also

GridViewStyles Class

GridViewStyles Members

DevExpress.Web Namespace