aspnet-devexpress-dot-web-dot-gridviewstyles-187d3064.md
Specifies the appearance of group rows.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public GridViewGroupRowStyle GroupRow { get; }
Public ReadOnly Property GroupRow As GridViewGroupRowStyle
| Type | Description |
|---|---|
| GridViewGroupRowStyle |
Style settings that specify the appearance of group rows.
|
The GroupRow property allows you to specify the appearance of group rows in markup and in a CSS class.
<dx:ASPxGridView ID="ASPxGridView1" runat="server">
<%--...--%>
<Settings ShowGroupPanel="true" />
<Styles>
<GroupRow BackColor="Silver" ForeColor="White" />
</Styles>
</dx:ASPxGridView>
#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