System.Web.UI.WebControls.DataControlField.HeaderStyle Property

Gets or sets the style of the header of the data control field.

Syntax

[System.ComponentModel.DefaultValue(null)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public TableItemStyle HeaderStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataControlField.HeaderStyle property governs the appearance of any text displayed in the header item of a type derived from System.Web.UI.WebControls.DataControlField. The most common application of the DataControlField.HeaderStyle property is to alter the style of the column headers in a System.Web.UI.WebControls.GridView control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0