SdtContentGroup Class

Group Structured Document Tag.When the object is serialized out as xml, its qualified name is w:group.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.EmptyType
        DocumentFormat.OpenXml.Wordprocessing.SdtContentGroup

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

Syntax

'Declaration
Public Class SdtContentGroup _
    Inherits EmptyType
'Usage
Dim instance As SdtContentGroup
public class SdtContentGroup : EmptyType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.5.2.17 group (Group Structured Document Tag)

This element specifies that the parent structured document tag shall be a restricted grouping when displayed in the document.

This setting specifies that the behavior for this structured document tag shall be as follows:

  • The contents of this structured document tag shall not be editable when displayed by a hosting application regardless of the locking settings. This restriction can be superseded by any structured document tag contained within the group, as each structured document tag specifies the locking properties for its own content.

[Example: Consider the following structured document tag:

<w:sdt>
<w:sdtPr>
…
<w:group/>
</w:sdtPr>
…
</w:sdt>

The group element in this structured document tag's properties specify that the type of structured document tag is a restricted group. end example]

Parent Elements

sdtPr (§17.5.2.38)

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

Reference

SdtContentGroup Members

DocumentFormat.OpenXml.Wordprocessing Namespace