SdtContentDocPartList Class

Document Part Gallery Structured Document Tag.When the object is serialized out as xml, its qualified name is w:docPartList.

Inheritance Hierarchy


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


Public Class SdtContentDocPartList _
    Inherits SdtDocPartType
Dim instance As SdtContentDocPartList
public class SdtContentDocPartList : SdtDocPartType


The following table lists the possible child types:

  • DocPartGallery <w:docPartGallery>

  • DocPartCategory <w:docPartCategory>

  • DocPartUnique <w:docPartUnique>

[ISO/IEC 29500-1 1st Edition] docPartList (Document Part Gallery Structured Document Tag)

This element specifies that the parent structured document tag shall be of a document part gallery type.

This setting does not require or imply that the contents of the structured document tag shall contain only the exact contents of a document part of the specified gallery and category which is present on the current machine, it shall only be used to specify that the structured document tag is of this kind, which shall be used by an application to present the possible list of choices for insertion into the parent structured document tag.

[Example: Consider the following structured document tag:


The docPartList element in this structured document tag's properties specifies that the type of structured document tag is a document part gallery. The child elements must specify the gallery and category filters for this list, if any. end example]

Parent Elements

sdtPr (§

Child Elements


docPartCategory (Document Part Category Filter)


docPartGallery (Document Part Gallery Filter)


docPartUnique (Built-In Document Part)


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


SdtContentDocPartList Members

DocumentFormat.OpenXml.Wordprocessing Namespace