Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.Styles Property

Provides access to the style settings that control the appearance of the ASPxGridView elements.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewStyles Styles { get; }

Property Value

Type Description
GridViewStyles

A GridViewStyles object that provides style settings for view elements.

Remarks

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