System.Windows.Forms.DataGridViewColumn.HeaderCell Property

Gets or sets the System.Windows.Forms.DataGridViewColumnHeaderCell that represents the column header.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public DataGridViewColumnHeaderCell HeaderCell { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The header of a column is typically used to display a column label. Depending on the current values of the DataGridViewColumn.SortMode and DataGridView.SelectionMode properties, users can also click the column header to sort or select the column.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0