Επεξεργασία

Κοινή χρήση μέσω


DataControlFieldHeaderCell.Scope Property

Definition

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

public:
 virtual property System::Web::UI::WebControls::TableHeaderScope Scope { System::Web::UI::WebControls::TableHeaderScope get(); void set(System::Web::UI::WebControls::TableHeaderScope value); };
public virtual System.Web.UI.WebControls.TableHeaderScope Scope { get; set; }
member this.Scope : System.Web.UI.WebControls.TableHeaderScope with get, set
Public Overridable Property Scope As TableHeaderScope

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

See also