共用方式為


BackgroundFillStyleList Class

Background Fill Style List.When the object is serialized out as xml, its qualified name is a:bgFillStyleLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.BackgroundFillStyleList

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
Public Class BackgroundFillStyleList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As BackgroundFillStyleList
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
public class BackgroundFillStyleList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NoFill <a:noFill>

  • SolidFill <a:solidFill>

  • GradientFill <a:gradFill>

  • BlipFill <a:blipFill>

  • PatternFill <a:pattFill>

  • GroupFill <a:grpFill>

[ISO/IEC 29500-1 1st Edition]

20.1.4.1.7 bgFillStyleLst (Background Fill Style List)

This element defines a list of background fills that are used within a theme. The background fills consist of three fills, arranged in order from subtle to moderate to intense.

[Example: Consider the following example of a background fill style list within DrawingML:

<bgFillStyleLst>
<solidFill>
…
</solidFill>
<gradFill rotWithShape="1">
…
</gradFill>
<blipFill>
…
</blipFill>
</bgFillStyleLst>

In this example, we see that the list contains a solid fill for the subtle fill, a gradient fill for the moderate fill and an image fill for the intense background fill. end example]

Parent Elements

fmtScheme (§20.1.4.1.14)

Child Elements

Subclause

blipFill (Picture Fill)

§20.1.8.14

gradFill (Gradient Fill)

§20.1.8.33

grpFill (Group Fill)

§20.1.8.35

noFill (No Fill)

§20.1.8.44

pattFill (Pattern Fill)

§20.1.8.47

solidFill (Solid Fill)

§20.1.8.54

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

BackgroundFillStyleList Members

DocumentFormat.OpenXml.Drawing Namespace