DataGrid::HeadersVisibility Property


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

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

property DataGridHeadersVisibility HeadersVisibility {
	DataGridHeadersVisibility get();
	void set(DataGridHeadersVisibility value);

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
Available since 2.0
Return to top