DataControlFieldHeaderCell.Scope Property

Definition

Gets or sets the header cell's scope within an HTML table.

C#
public virtual System.Web.UI.WebControls.TableHeaderScope Scope { get; set; }

Property Value

One of the TableHeaderScope values. The default is NotSet.

Remarks

The value of the Scope property is rendered as an HTML scope attribute by the DataControlFieldHeaderCell object. Although the Scope property is initialized to NotSet, you should set it to either Column or Row, depending on the cells that the header represents.

The value of the Scope property is stored in view state.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also