Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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