DataGridGridLinesVisibility Enumeration

 

Defines constants that specify the visibility of the grid lines in a DataGrid.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Enumeration DataGridGridLinesVisibility

Member nameDescription
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
Return to top
Show: