Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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