TStringGrid.AlternateColor property
Color used for the background in alternate rows in the grid.
Declaration
property AlternateColor:;Description
AlternateColor is a
TColor property with the background
color used for alternate rows on the grid control. Color is used as the
background color for even-numbered rows. Having alternate rows in different
colors can make the grid easier to read.
AlternateColor is initially set to the value for Color property in the constructor. Setting a new value for the property causes the grid control to be redrawn. AlternateColor is updated when a new value is assigned to the Color property; it assumes the old value in Color.
Color and AlternateColor are used in the PrepareCanvas method to set the Canvas brush color for cells which are not selected in a given row.
This description is the one of Grids.TCustomGrid.AlternateColor.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
