DataGridLineStyle Enumeration
.NET Framework (current version)
Specifies the style of gridlines in a System.Windows.Forms.DataGrid.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| None | No gridlines between cells. | |
| Solid | Solid gridlines between cells. |
Use the members of this enumeration to set the value of the GridLineStyle property of the System.Windows.Forms.DataGrid class. The default is Solid.
The following example sets the GridLineStyle property to DataGridLineStyle.None.
.NET Framework
Available since 1.1
Available since 1.1
Show: