Gets or sets a value indicating whether the column header row is displayed.
member ColumnHeadersVisible : bool with get, set
System .Boolean if the column headers are displayed; otherwise, true . The default is false . true
property is ColumnHeadersVisible , a column whose false property is set to Resizable can still be resized in the user interface (UI) by clicking with the mouse cursor anywhere along the right border of the column to be resized. true
The following code example populates an unbound
control and sets the DataGridView property to ColumnHeadersVisible to ensure that column headers are displayed. true
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1