TableProperties.FirstColumn 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.
First Column
Represents the following attribute in the schema: firstCol
[DocumentFormat.OpenXml.SchemaAttr(0, "firstCol")]
public DocumentFormat.OpenXml.BooleanValue FirstColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue FirstColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "firstCol")]
public DocumentFormat.OpenXml.BooleanValue? FirstColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("firstCol")]
public DocumentFormat.OpenXml.BooleanValue? FirstColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue? FirstColumn { get; set; }
member this.FirstColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "firstCol")>]
member this.FirstColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("firstCol")>]
member this.FirstColumn : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property FirstColumn As BooleanValue
Property Value
Returns BooleanValue.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Enables or disables the first column formatting for a table style
. Values of on
, 1
or true
will enable the first column formatting defined in the table style. The attribute will default to off
if it is not specified.
Consider the following run:
<a:tblPr firstCol="1">
<a:tableStyleId>{5940675A-B579-460E-94D1-
54222C63F5DA}</a:tableStyleId>
</a:tblPr>
In this example, we can see the first column formatting is enabled for the table. When applied, the linked table style defines the formatting for the first column.
The possible values for this attribute are defined by the XML Schema boolean
datatype.