Fill Class

Fill.When the object is serialized out as xml, its qualified name is x:fill.

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

[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
public class Fill : OpenXmlCompositeElement

The following table lists the possible child types:

  • PatternFill <x:patternFill>

  • GradientFill <x:gradientFill>


[ISO/IEC 29500-1 1st Edition]

18.8.20 fill (Fill)

This element specifies fill formatting.

Parent Elements

dxf (§18.8.14); fills (§18.8.21); ndxf (§18.11.1.4); odxf (§18.11.1.6)

Child Elements

Subclause

gradientFill (Gradient)

§18.8.24

patternFill (Pattern)

§18.8.32

[Note: The W3C XML Schema definition of this element’s content model (CT_Fill) is located in §A.2. 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.

Community Additions

ADD
Show: