System.Windows.Forms.DataGridColumnStyle.HeaderText Property

Gets or sets the text of the column header.

Syntax

[System.ComponentModel.Localizable(true)]
public virtual string HeaderText { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataGridColumnStyle.HeaderText property is typically used to display a caption that is different from the DataGridColumnStyle.MappingName value when the DataGridColumnStyle.MappingName value isn't easily understandable. For example, you can change the DataGridColumnStyle.HeaderText to "First Name" when the DataGridColumnStyle.MappingName value is "FName".

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0