TableCellStyle class

Office 2013 and later

Table Cell Style. When the object is serialized out as xml, its qualified name is a:tcStyle.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

tcStyle (Table Cell Style)

This element defines the style for a give cell in a table.

[Example: Consider the following example of a table cell style in use within DrawingML:

<tcStyle>
  <tcBdr>
    …  </tcBdr>
  <fill>
    …  </fill>
</tcStyle>

In this example, we see that a set of borders for the cell along with a cell fill are being defined. end example]

Parent Elements

band1H (§20.1.4.2.1); band1V (§20.1.4.2.2); band2H (§20.1.4.2.3); band2V (§20.1.4.2.4); firstCol (§20.1.4.2.11); firstRow (§20.1.4.2.12); lastCol (§20.1.4.2.16); lastRow (§20.1.4.2.17); neCell (§20.1.4.2.20); nwCell (§20.1.4.2.21); seCell (§20.1.4.2.23); swCell (§20.1.4.2.24); wholeTbl (§20.1.4.2.34)

Child Elements

Subclause

cell3D (Cell 3-D)

§21.1.3.1

fill (Fill)

§20.1.4.2.9

fillRef (Fill Reference)

§20.1.4.2.10

tcBdr (Table Cell Borders)

§20.1.4.2.28

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

© ISO/IEC29500: 2008.

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