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.2.dll

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