DataGridColumn.HeaderStyle Property
.NET Framework 3.0
Gets the style properties for the header section of the column.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public TableItemStyle get_HeaderStyle ()
public function get HeaderStyle () : TableItemStyle
Not applicable.
Property Value
A TableItemStyle that contains the style properties for the header section of the column. The default value is an empty TableItemStyle.Use this property to provide a custom style for the header section of the column. Common style attributes that can be adjusted include foreground color, background color, font, and content alignment within the cell. Providing a different style enhances the appearance of the column in the DataGrid control.
Community Additions
ADD
Show: