DataGrid.HeadersVisibility Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value that specifies the visibility of the row and column headers.
public:
property System::Windows::Controls::DataGridHeadersVisibility HeadersVisibility { System::Windows::Controls::DataGridHeadersVisibility get(); void set(System::Windows::Controls::DataGridHeadersVisibility value); };
public System.Windows.Controls.DataGridHeadersVisibility HeadersVisibility { get; set; }
member this.HeadersVisibility : System.Windows.Controls.DataGridHeadersVisibility with get, set
Public Property HeadersVisibility As DataGridHeadersVisibility
Property Value
One of the enumeration values that indicates the visibility of row and column headers. The registered default is All. For more information about what can influence the value, see DependencyProperty.
Remarks
This property specifies whether the row and column headers are visible. The appearance of the headers when they are visible is specified by the RowHeaderStyle and ColumnHeaderStyle properties.