GridColor

Returns or sets the color used to draw the lines between the Grid control's cells.

Syntax

object.GridColor [= color ]

The GridColor property syntax has these parts:

Part Description
object An object expression that evaluates to an object.
color A value or constant that determines the color used to paint the gridlines in the scrollable or fixed areas of Grid.

Remarks

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