DataGridGridLinesVisibility Enumeration
TOC
Collapse the table of content
Expand the table of content

DataGridGridLinesVisibility Enumeration

.NET Framework (current version)
 

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

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

public enum 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:
© 2016 Microsoft