TableHeaderScope 枚举
定义
表示某些类的 HTML scope
特性,这些类表示表中的标头单元格。Represents the HTML scope
attribute for classes that represent header cells in a table.
public enum class TableHeaderScope
public enum TableHeaderScope
type TableHeaderScope =
Public Enum TableHeaderScope
- 继承
字段
Column | 2 | 呈现表示表标头单元格的对象,并将 |
NotSet | 0 | 不呈现标头单元格的 |
Row | 1 | 呈现表示表标头单元格的对象,并将 |
注解
在呈现标头单元格DataControlFieldHeaderCell时TableHeaderCell , 由和类使用枚举来表示标头单元格的范围。TableHeaderScopeThe TableHeaderScope enumeration is used by the DataControlFieldHeaderCell and TableHeaderCell classes to represent the scope of the header cell when it is rendered. 这两Scope
个类的默认属性都是 NotSet 值, 在这种情况下, scope
不会为标头单元格编写 HTML 特性。The default Scope
property for both of these classes is the NotSet value, in which case no HTML scope
attribute is written for the header cell. Scope属性用于通过提供有关单元和标头之间的关系的信息, 使 HTML 表更易于访问。The Scope property is used to make HTML tables more accessible by providing information about relationships between the cells and the headers.