aspnet-devexpress-dot-web-dot-aspxgridview-a8b36f5d.md
Provides access to the style settings that control the appearance of the ASPxGridView elements.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public GridViewStyles Styles { get; }
Public ReadOnly Property Styles As GridViewStyles
| Type | Description |
|---|---|
| GridViewStyles |
A GridViewStyles object that provides style settings for view elements.
|
The GridViewStyles object provides a number of properties that allow style settings of various Grid View elements to be customized.
<dx:ASPxGridView ID="grid" runat="server" DataSourceID="ObjectDataSource1" KeyFieldName="Id"
AutoGenerateColumns="False" Width="100%" >
<Columns>
...
</Columns>
<Styles>
<EditingErrorRow BackColor="Yellow" />
</Styles>
</dx:ASPxGridView>
See Also