TableStyleEntry Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TableStyleType
        DocumentFormat.OpenXml.Drawing.TableStyleEntry

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

Syntax

'Declaration
Public Class TableStyleEntry _
    Inherits TableStyleType
'Usage
Dim instance As TableStyleEntry
public class TableStyleEntry : TableStyleType

Remarks

The following table lists the possible child types:

  • TableBackground <a:tblBg>

  • WholeTable <a:wholeTbl>

  • Band1Horizontal <a:band1H>

  • Band2Horizontal <a:band2H>

  • Band1Vertical <a:band1V>

  • Band2Vertical <a:band2V>

  • LastColumn <a:lastCol>

  • FirstColumn <a:firstCol>

  • LastRow <a:lastRow>

  • SoutheastCell <a:seCell>

  • SouthwestCell <a:swCell>

  • FirstRow <a:firstRow>

  • NortheastCell <a:neCell>

  • NorthwestCell <a:nwCell>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.1.4.2.26 tblStyle (Table Style)

This is the root element for a table style. Within the table style are different formatting options available in order to apply a table.

Parent Elements

tblStyleLst (§20.1.4.2.27)

Child Elements

Subclause

band1H (Band 1 Horizontal)

§20.1.4.2.1

band1V (Band 1 Vertical)

§20.1.4.2.2

band2H (Band 2 Horizontal)

§20.1.4.2.3

band2V (Band 2 Vertical)

§20.1.4.2.4

extLst (Extension List)

§20.1.2.2.15

firstCol (First Column)

§20.1.4.2.11

firstRow (First Row)

§20.1.4.2.12

lastCol (Last Column)

§20.1.4.2.16

lastRow (Last Row)

§20.1.4.2.17

neCell (Northeast Cell)

§20.1.4.2.20

nwCell (Northwest Cell)

§20.1.4.2.21

seCell (Southeast Cell)

§20.1.4.2.23

swCell (Southwest Cell)

§20.1.4.2.24

tblBg (Table Background)

§20.1.4.2.25

wholeTbl (Whole Table)

§20.1.4.2.34

Attributes

Description

styleId (Style ID)

Specifies a GUID identifying the table style in a unique manner.

The possible values for this attribute are defined by the ST_Guid simple type (§22.9.2.4).

styleName (Name)

Specifies the name of the table style which can show up in the user interface identifying the style to a user.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

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

© ISO/IEC29500: 2008.

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

TableStyleEntry Members

DocumentFormat.OpenXml.Drawing Namespace