DataGrid for WPF and Silverlight Overview > DataGrid Features > DataGrid Appearance > Table Formatting Options > Setting Row and Column Header Visibility |
By default row and column headers are visible in the grid. However, if you choose, you can set one or both of the headers to be hidden by setting the HeadersVisibility property. You can set the HeadersVisibility property to one of the following options:
Option | Description |
---|---|
None | Neither row nor column headers are visible in the grid. |
Column | Only column headers are visible in the grid. |
Row | Only row headers are visible in the grid. |
All (Default) | Both column and row headers are visible in the grid. |