GridLines Property
Determines whether horizontal and vertical lines are displayed in the Grid control. Available at design time; read/write at run time.
Grid.GridLines[ = nSetting]
Return Value
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.
Remarks
Applies To: Grid Control