In The Hand LtdIn The Hand
SetGridLines Method (listView, enable)
NamespacesInTheHand.Windows.FormsListViewHelperSetGridLines(ListView, Boolean)
.NET Components for Mobility
Sets a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control.
Declaration Syntax
C#Visual Basic
public static void SetGridLines(
	ListView listView,
	bool enable
)
Public Shared Sub SetGridLines ( _
	listView As ListView, _
	enable As Boolean _
)
Parameters
listView (ListView)
The ListView control.
enable (Boolean)
true if grid lines are drawn around items and subitems; otherwise, false. The default is false.
Remarks
The GridLines property has no effect unless the View property of the ListView control is set to Details. The GridLines property allows you to display lines to identify the rows and columns that are displayed in the ListView control when it displays items and their subitems. The grid lines that are displayed do not provide the ability to resize rows and columns as an application such as Microsoft Excel does. Only columns can be resized, if column headers are displayed, by moving the mouse pointer to the right side of the column to resize and then clicking and dragging until the column is the size you want. The grid lines feature is used to provide the user of the control with visible boundaries around items and subitems.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0