Skip to main content
Tab

ASPxGridView.Styles Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

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>

GridView - EditingErrorRow

See Also