DataGridHeadersVisibility Enumeration
.NET Framework (current version)
Defines constants that specify the visibility of row and column headers in a DataGrid.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| All | Both row and column headers are visible. | |
| Column | Only column headers are visible. | |
| None | No headers are visible. | |
| Row | Only row headers are visible. |
This enumeration is used by the HeadersVisibility property.
The style of the headers is determined by the RowHeaderStyle and ColumnHeaderStyle properties.
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: