GridLines Property

Returns or sets the type of lines to be drawn between non-fixed cells.


Public Property GridLines As GridLines

Applies To

Grid Object

Data Type


The following settings are available:

Constant Value Description
None 0 Do not draw grid lines between cells.
Horizontal 1 Draw lines between rows, no lines between columns.
Vertical 2 Draw lines between columns, no lines between rows.
Both 3(Default) Draw lines between rows and columns.