DataGridHeadersVisibility Enumeration

 

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.

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

[<FlagsAttribute>]
type DataGridHeadersVisibility

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