System.Web.UI.WebControls Namespace DataGridColumn Class
Sets the style properties for the header section of a DataGridColumn.
<asp:datagridcolumn ...
headerstyle-styleproperty=value />
A TableItemStyle object that defines the style properties for the header section of the column.
Use this property to provide a custom style for the header section of a DataGridColumn. Common style attributes that can be set include forecolor, backcolor, font, and content alignment within the cell. Providing a different style enhances the appearance of a column in the DataGrid control.
NOTE: The ShowHeader property must be set to true for this property to have any effect.
DataGridColumn Members ShowHeader FooterStyle ItemStyle