Share via


Band1Horizontal Class

Band 1 Horizontal.When the object is serialized out as xml, its qualified name is a:band1H.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class Band1Horizontal _
    Inherits TablePartStyleType
'Usage
Dim instance As Band1Horizontal
public class Band1Horizontal : TablePartStyleType

Remarks

The following table lists the possible child types:

  • TableCellTextStyle <a:tcTxStyle>

  • TableCellStyle <a:tcStyle>

[ISO/IEC 29500-1 1st Edition]

20.1.4.2.1 band1H (Band 1 Horizontal)

This element describes the formatting for the first row in horizontal banding. Two different row formatting are applied to the table alternating in order to create a banding effect on the table.

[Example: Consider the following example of band 1 horizontal being used within DrawingML:

<band1H>
<tcStyle>
<tcBdr/>
<fill>
<solidFill>
<schemeClr val="accent1">
<tint val="40000"/>
</schemeClr>
</solidFill>
</fill>
</tcStyle>
</band1H>

DocumentFormat.OpenXml.Drawing.Band1Horizontal-ima

In this example, we set the fill to be a solid fill referencing the accent 1 color defined in the theme. 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.

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

Band1Horizontal Members

DocumentFormat.OpenXml.Drawing Namespace