DataControlFieldHeaderCell::Scope Property
.NET Framework (current version)
Gets or sets the header cell's scope within an HTML table.
Assembly: System.Web (in System.Web.dll)
public: property TableHeaderScope Scope { virtual TableHeaderScope get(); virtual void set(TableHeaderScope value); }
Property Value
Type: System.Web.UI.WebControls::TableHeaderScopeOne of the TableHeaderScope values. The default is TableHeaderScope::NotSet.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: