DataControlFieldHeaderCell.Scope Property

Note: This property is new in the .NET Framework version 2.0.

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 property TableHeaderScope Scope {
	TableHeaderScope get ();
	void set (TableHeaderScope value);
}
/** @property */
public TableHeaderScope get_Scope ()

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

public function get Scope () : TableHeaderScope

public function set Scope (value : TableHeaderScope)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: