System.Web.UI.WebControls.ButtonFieldBase.ShowHeader Property

Gets or sets a value indicating whether the header section is displayed in a System.Web.UI.WebControls.ButtonFieldBase object.

Syntax

[System.ComponentModel.DefaultValue(false)]
public override bool ShowHeader { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ButtonFieldBase.ShowHeader property to show or hide the header section of a System.Web.UI.WebControls.ButtonFieldBase object. To show the header section, set the ButtonFieldBase.ShowHeader property to true.

Note:

Some data-bound controls (such as the System.Web.UI.WebControls.GridView control) can show or hide only the entire header section of the control. These data-bound controls do not support the ButtonFieldBase.ShowHeader property for an individual button field. To show or hide the entire header section of a data-bound control (if available), use the ShowHeader property for the control.

The value of this property is stored in view state.

Requirements

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