[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TCustomGrid.GridLineColor

Color used for the grid lines on the control.

## Declaration

Source position: grids.pas line 1266

`protected property TCustomGrid.GridLineColor : TColor read FGridLineColor write SetGridLineColor default clSilver;`

## Description

GridLineColor is a TColor property with the color used to draw the grid lines between rows and columns on the control. The default value for the property is clSilver. Changing the value for the property causes the grid control to be redrawn.

GridLineColor is used in the DrawCellGrid method to draw the lines around non-fixed cells when GridLineWidth has a non-zero value.

Use FixedGridLineColor to set the color used to draw grid lines around fixed rows and columns on the control.

## See also

TCustomGrid.DrawCellGrid |  | Draws cell grid lines for the control.
TCustomGrid.GridLineWidth |  | Width (thickness) for grid lines drawn on the control.
TCustomGrid.GridLineStyle |  | Style used to draw the grid lines on the control.
TCustomGrid.FixedGridLineColor |  | Color used to draw the separator lines for fixed grid cells.