DocPartProperties class

Office 2013 and later

Glossary Document Entry Properties. When the object is serialized out as xml, its qualified name is w:docPartPr.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.DocPartProperties

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

[ChildElementInfoAttribute(typeof(DocPartName))]
[ChildElementInfoAttribute(typeof(DocPartTypes))]
[ChildElementInfoAttribute(typeof(DocPartId))]
[ChildElementInfoAttribute(typeof(Category))]
[ChildElementInfoAttribute(typeof(StyleId))]
[ChildElementInfoAttribute(typeof(Behaviors))]
[ChildElementInfoAttribute(typeof(Description))]
public class DocPartProperties : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

docPartPr (Glossary Document Entry Properties)

This element specifies the set of properties which shall be applied to the parent glossary document entry. These properties define its name, categorization, and behaviors.

[Example: Consider the WordprocessingML fragment for a glossary document entry containing a single run, defined as follows:

<w:docPart>
  <w:docPartPr>
    <w:name w:val="Sample Entry" />
    …  </w:docPartPr>
  …</w:docPart>

The docPartPr element specifies the set of properties which have been specified for the parent glossary document entry, the only one visible above being the entry's name of Sample Entry. end example]

Parent Elements

docPart (§17.12.5)

Child Elements

Subclause

behaviors (Entry Insertion Behaviors)

§17.12.2

category (Entry Categorization)

§17.12.3

description (Description for Entry)

§17.12.4

guid (Entry ID)

§17.12.11

name (Entry Name)

§17.12.13

style (Associated Paragraph Style Name)

§17.12.14

types (Entry Types)

§17.12.16

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