編輯

共用方式為


RepeatInfo.UseAccessibleHeader Property

Definition

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

public:
 property bool UseAccessibleHeader { bool get(); void set(bool value); };
public bool UseAccessibleHeader { get; set; }
member this.UseAccessibleHeader : bool with get, set
Public Property UseAccessibleHeader As Boolean

Property Value

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

Remarks

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.

Applies to

See also