RepeatInfo::UseAccessibleHeader Property

 

Gets or sets a value to indicate whether to add a Scope attribute when the control is rendered as a Table.

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

public:
property bool UseAccessibleHeader {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if a "scope" attribute is to be added, otherwise, false.

If true and the control is rendered as a Table, a "scope" attribute with value "col" is added and a table header cell (<th>) is rendered instead of a table cell (<td>) for the header cells when the Table is rendered. This attribute can be used by screen readers.

.NET Framework
Available since 1.1
Return to top
Show: