DataGridColumn::HeaderStyle Property
.NET Framework (current version)
Gets the style properties for the header section of the column.
Assembly: System.Web (in System.Web.dll)
public: [PersistenceModeAttribute(PersistenceMode::InnerProperty)] property TableItemStyle^ HeaderStyle { virtual TableItemStyle^ get(); }
Property Value
Type: System.Web.UI.WebControls::TableItemStyle^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.
.NET Framework
Available since 1.1
Available since 1.1
Show: