DocPartName.Decorated Property

Built-In Entry.Represents the attribte in schema: w:decorated

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

Syntax

'Declaration
<SchemaAttrAttribute(, "decorated")> _
Public Property Decorated As OnOffValue
    Get
    Set
'Usage
Dim instance As DocPartName
Dim value As OnOffValue

value = instance.Decorated

instance.Decorated = value
[SchemaAttrAttribute(, "decorated")]
public OnOffValue Decorated { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies that the name for the current entry is a built-in entry which should not be displayed in the user interface. This information may be used by an application as needed—for example, to disambiguate an entry from one with the same name, ensuring that the built-in entry can be uniquely identified by the application.

If this attribute is omitted, its value shall be assumed to be false.

Consider the following WordprocessingML fragment for the name of a single glossary document entry:

<w:name w:decorated="true" w:val=":-)" />

The decorated attribute specifies that the parent entry is a built-in entry, and shall be treated as such.

The possible values for this attribute are defined by the ST_OnOff simple type.

See Also

Reference

DocPartName Class

DocPartName Members

DocumentFormat.OpenXml.Wordprocessing Namespace