[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomListView.GridLines

Enables or disables grid lines between rows and columns on the control.

## Declaration

Source position: comctrls.pp line 1670

`public property TCustomListView.GridLines : Boolean index Ord(lvpGridLines) read GetProperty write SetProperty default False;`

## Description

GridLines is a Boolean property used to enable or disable drawing of a 1-pixel grid line between rows and columns on the control. The default value for the property is False, and hides the grid lines.

GridLines is one of the TListViewProperty values included in the TListViewProperties set type and exchanged with the widgetset class. The property value is read from and written to the TCustomTreeview widgetset class instance when its handle is valid. Changing the value for the property causes the widgetset class to be updated with the new value.

## See also

TListViewProperties |  | Set type used to store values from the TListViewProperty enumeration.
TListViewProperty |  | Represents Boolean properties used in TCustomListView.