TableBackground class

Office 2013 and later

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

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]

tblBg (Table Background)

This element defines the formatting options which can be applied to the table background shape. The background shape is the same size as the entire table and can hold a fill or an effect which spans the entire table.

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

<tblBg>
  <fillRef idx="2">
    <schemeClr val="accent1"/>
  </fillRef>
  <effectRef idx="1">
    <schemeClr val="accent1"/>
  </effectRef>
</tblBg>

In this example, we see that there is a themed fill and themed effect being applied to the table background through the table style. end example]

Parent Elements

tableStyle (§21.1.3.11); tblStyle (§20.1.4.2.26)

Child Elements

Subclause

effect (Effect)

§20.1.4.2.7

effectRef (Effect Reference)

§20.1.4.2.8

fill (Fill)

§20.1.4.2.9

fillRef (Fill Reference)

§20.1.4.2.10

[Note: The W3C XML Schema definition of this element’s content model (CT_TableBackgroundStyle) 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: