DataGrid::GridLineColor Property
.NET Framework (current version)
Gets or sets the color of the grid lines.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The value is not set. |
No grid line is displayed if the GridLineStyle property is set to DataGridLineStyle.None.
.NET Framework
Available since 1.1
Available since 1.1
Show: