Skip to main content

GridViewPrintAppearances.OddRow Property

Gets the appearance settings used to paint odd data rows when the grid control is printed.

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 when the grid control is printed.

Remarks

The OddRow property specifies the appearance settings used to paint the data cells within odd rows when the grid is printed. If this property isn’t specified, the appearance of data cells within odd rows is specified by the GridViewPrintAppearances.Row property.

The appearance setting provided by the OddRow property are used to paint odd rows when the grid control is printed if the GridOptionsPrint.EnableAppearanceOddRow property is set to true.

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

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

See Also