GridColor

This property returns and sets the color used to draw the lines between a Grid control's cells.

Syntax

object.GridColor [= color]

Parameters

object
Object expression that evaluates to a Grid control.
color
Value or constant that determines the color used to paint gridlines in the scrollable or fixed areas of the Grid control.

Remarks

Use the GridColor property only when the GridLines property is set to 1 (Lines). Raised and inset grid lines are always drawn in black and white.