This documentation is archived and is not being maintained.

DataControlFieldHeaderCell.Scope Property

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

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

public virtual TableHeaderScope Scope { get; set; }
/** @property */
public TableHeaderScope get_Scope ()

/** @property */
public void set_Scope (TableHeaderScope value)

public function get Scope () : TableHeaderScope

public function set Scope (value : TableHeaderScope)

Not applicable.

Property Value

One 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: