Skip to main content

GridViewAppearances.OddRow Property

Gets the appearance settings used to paint odd data rows.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public AppearanceObject OddRow { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings used to paint odd data rows.

Remarks

The OddRow property specifies the appearance settings of data cells within odd rows. If this property is not specified, the appearance of data cells within odd rows is specified by the GridViewAppearances.Row property.

The appearance settings provided by the OddRow property are used to paint odd rows if the GridOptionsView.EnableAppearanceOddRow property is set to true.

To specify the appearance of even rows, use the GridViewAppearances.EvenRow property.

For more information on appearances, see the Appearance and Conditional Formatting topic.

See Also