DataGridGridLinesVisibility Enumeration
.NET Framework (current version)
Defines constants that specify the visibility of the grid lines in a DataGrid.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| All | Both horizontal and vertical grid lines are visible. | |
| Horizontal | Only horizontal grid lines are visible. | |
| None | No grid lines are visible. | |
| Vertical | Only vertical grid lines are visible. |
This enumeration is used by the GridLinesVisibility property.
The style of the grid lines is determined by the VerticalGridLinesBrush and HorizontalGridLinesBrush properties.
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: