A newer version of this page is available. Switch to the current version.

DataGridPrintStyle Properties

Represents a print style used to print the DataGrid via the DataGridLink.
Name Description
AlternatingBackColor Gets or sets the background color of odd-numbered rows of the grid.
BackColor Gets or sets the background color of even-numbered rows of the grid.
CaptionBackColor Gets or sets the background color of the caption area.
CaptionForeColor Gets or sets the foreground color of the caption area.
FlatMode Gets or sets a value indicating whether the grid is printed in flat mode.
ForeColor Gets or sets the foreground color (typically the color of the text) of the data grid.
GridLineColor Gets or sets the color of the grid lines.
GridLineStyle Gets or sets the line style of the grid.
HeaderBackColor Gets or sets the background color of all row and column headers.
HeaderForeColor Gets or sets the foreground color of headers.
See Also