Skip to main content

DataGridPrintStyle.BackColor Property

Gets or sets the background color of even-numbered rows of the grid.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v24.1.dll

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

Declaration

public Color BackColor { get; set; }

Property Value

Type Description
Color

A Color that represents the color of rows in the grid.

Remarks

By default, both the BackColor and the DataGridPrintStyle.AlternatingBackColor properties are set to the same color. Setting the BackColor property affects only even-numbered rows, while setting the AlternatingBackColor affects only odd-numbered rows.

See Also