Skip to main content
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)

Syntax
[FlagsAttribute]
public enum DataGridHeadersVisibility
[FlagsAttribute]
public enum class DataGridHeadersVisibility
[<FlagsAttribute>]
type DataGridHeadersVisibility
<FlagsAttribute>
Public Enumeration DataGridHeadersVisibility
Members
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.

Remarks

This enumeration is used by the property.

The style of the headers is determined by the and properties.

Version Information
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top