DataGrid.HeadersVisibility Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the value that specifies the visibility of the row and column headers.

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

member HeadersVisibility : DataGridHeadersVisibility with get, set

Property Value

Type: System.Windows.Controls.DataGridHeadersVisibility

One of the enumeration values that indicates the visibility of row and column headers. The registered default is All. For more information about what can influence the value, see DependencyProperty.

This property specifies whether the row and column headers are visible. The appearance of the headers when they are visible is specified by the RowHeaderStyle and ColumnHeaderStyle properties.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: