Поделиться через


FirstColumn Class

First Column.When the object is serialized out as xml, its qualified name is a:firstCol.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TablePartStyleType
        DocumentFormat.OpenXml.Drawing.FirstColumn

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Декларация
Public Class FirstColumn _
    Inherits TablePartStyleType
'Применение
Dim instance As FirstColumn
public class FirstColumn : TablePartStyleType

Remarks

The following table lists the possible child types:

  • TableCellTextStyle <a:tcTxStyle>

  • TableCellStyle <a:tcStyle>

[ISO/IEC 29500-1 редакция 1]

20.1.4.2.11 firstCol (First Column)

This element defines the cell formatting which can be applied to the first column of the table.

[Example: Consider the following example of first column formatting within DrawingML:

<firstCol>
<tcTxStyle b="on">
<fontRef idx="minor">
<scrgbClr r="0" g="0" b="0"/>
</fontRef>
<schemeClr val="lt1"/>
</tcTxStyle>
  <tcStyle>
<tcBdr/>
<fill>
<solidFill>
<schemeClr val="accent1"/>
</solidFill>
</fill>
</tcStyle>
</firstCol>

DocumentFormat.OpenXml.Drawing.FirstColumn-image00

In this example, we define the first column cell fills to be accent 1 along with the text properties to be bold when first column formatting is enabled through the user interface. end example]

Parent Elements

tableStyle (§21.1.3.11); tblStyle (§20.1.4.2.26)

Child Elements

Subclause

tcStyle (Table Cell Style)

§20.1.4.2.29

tcTxStyle (Table Cell Text Style)

§20.1.4.2.30

[Note: The W3C XML Schema definition of this element's content model (CT_TablePartStyle) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FirstColumn Members

DocumentFormat.OpenXml.Drawing Namespace