DataControlFieldHeaderCell.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.