ShowHeader Property

DataControlField.ShowHeader Property


Gets or sets a value indicating whether the header item of a data control field is rendered.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual bool ShowHeader { get; set; }

Property Value

Type: System.Boolean

true if the header item of the DataControlField is rendered; otherwise, false. The default is true.

Use the ShowHeader property to specify whether the header item is displayed in a DataControlField object.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft