BackgroundProperties Class

Background Properties.When the object is serialized out as xml, its qualified name is p:bgPr.

Inheritance Hierarchy


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


<ChildElementInfoAttribute(GetType(EffectDag))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
Public Class BackgroundProperties _
    Inherits OpenXmlCompositeElement
Dim instance As BackgroundProperties
public class BackgroundProperties : OpenXmlCompositeElement


The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.NoFill <a:noFill>

  • DocumentFormat.OpenXml.Drawing.SolidFill <a:solidFill>

  • DocumentFormat.OpenXml.Drawing.GradientFill <a:gradFill>

  • DocumentFormat.OpenXml.Drawing.BlipFill <a:blipFill>

  • DocumentFormat.OpenXml.Drawing.PatternFill <a:pattFill>

  • DocumentFormat.OpenXml.Drawing.EffectList <a:effectLst>

  • DocumentFormat.OpenXml.Drawing.EffectDag <a:effectDag>

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition] bgPr (Background Properties)

This element specifies visual effects used to render the slide background. This includes any fill, image, or effects that are to make up the background of the slide.

Parent Elements

bg (§

Child Elements


blipFill (Picture Fill)


effectDag (Effect Container)


effectLst (Effect Container)


extLst (Extension List)


gradFill (Gradient Fill)


grpFill (Group Fill)


noFill (No Fill)


pattFill (Pattern Fill)


solidFill (Solid Fill)




shadeToTitle (Shade to Title)

Specifies whether the background of the slide is of a shade to title background type. This kind of gradient fill is on the slide background and changes based on the placement of the slide title placeholder. An example is shown below.


The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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


BackgroundProperties Members

DocumentFormat.OpenXml.Presentation Namespace