PatternFill class
Pattern. When the object is serialized out as xml, its qualified name is x:patternFill.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.PatternFill
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
patternFill (Pattern)
This element is used to specify cell fill information for pattern and solid color cell fills. For solid cell fills (no pattern), fgColor is used. For cell fills with patterns specified, then the cell fill color is specified by the bgColor element.
Parent Elements |
|---|
fill (§18.8.20) |
Child Elements | Subclause |
|---|---|
bgColor (Background Color) | §18.8.3 |
fgColor (Foreground Color) | §18.8.19 |
Attributes | Description |
|---|---|
patternType (Pattern Type) | Specifies the fill pattern type (including solid and none) Default is none, when missing. The possible values for this attribute are defined by the ST_PatternType simple type (§18.18.55). |
[Note: The W3C XML Schema definition of this element’s content model (CT_PatternFill) is located in §A.2. end note]
© ISO/IEC29500: 2008.