Fill Class
Fill.When the object is serialized out as xml, its qualified name is x:fill.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.Fill
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
Public Class Fill _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Fill
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
public class Fill : OpenXmlCompositeElement
Remarks
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.
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.