GridViewStyles.GroupRow Property
In This Article
Specifies the appearance of group rows.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewGroupRowStyle GroupRow { get; }
#Property Value
Type | Description |
---|---|
Grid |
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