Determines whether horizontal and vertical lines are displayed in the Grid control. Available at design time; read/write at run time.
Syntax
Grid.GridLines[ = nSetting]
Settings
nSetting
The settings for the GridLines property are:
| Setting | Description |
| 0 | None. No grid lines. |
| 1 | Horizontal. Horizontal grid lines only. |
| 2 | Vertical. Vertical grid lines only. |
| 3 | (Default) Both. Both horizontal and vertical grid lines. |