TableProperties.FirstRow 属性

定义

第一行

表示架构中的以下属性:firstRow

[DocumentFormat.OpenXml.SchemaAttr(0, "firstRow")]
public DocumentFormat.OpenXml.BooleanValue FirstRow { get; set; }
public DocumentFormat.OpenXml.BooleanValue FirstRow { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "firstRow")]
public DocumentFormat.OpenXml.BooleanValue? FirstRow { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("firstRow")]
public DocumentFormat.OpenXml.BooleanValue? FirstRow { get; set; }
public DocumentFormat.OpenXml.BooleanValue? FirstRow { get; set; }
member this.FirstRow : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "firstRow")>]
member this.FirstRow : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("firstRow")>]
member this.FirstRow : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property FirstRow As BooleanValue

属性值

返回 BooleanValue

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

启用或禁用 的第一行 table style格式。 或 1true 的值on将启用表格样式中定义的第一行格式。 如果未指定属性,则属性将默认 off 为 。

请考虑以下运行:

<a:tblPr firstRow="1">  
  <a:tableStyleId>{5940675A-B579-460E-94D1-  
  54222C63F5DA}</a:tableStyleId>  
</a:tblPr>  

在此示例中,我们可以看到为表启用了第一行格式设置。 应用后,链接表样式定义第一行的格式。

此属性的可能值由 XML 架构 boolean 数据类型定义。

适用于