StructuredDocumentTag Properties

The StructuredDocumentTag type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleBuildingBlockCategory
Specifies category of building block for this SDT node. Can not be null.
Public propertyCode exampleBuildingBlockGallery
Specifies type of building block for this SDT. Can not be null.
Public propertyCode exampleCalendarType
Specifies the type of calendar for this SDT. Default is Default
Public propertyCode exampleChecked
Gets/Sets current state of the Checkbox SDT. Default value for this property is false.
Public propertyCode exampleChildNodes
Gets all immediate child nodes of this node.
(Inherited from CompositeNode.)
Public propertyCode exampleColor
Gets or sets the color of the structured document tag.
Public propertyCode exampleContentsFont
Font formatting that will be applied to text entered into SDT.
Public propertyCode exampleCount
Gets the number of immediate children of this node.
(Inherited from CompositeNode.)
Public propertyCode exampleDateDisplayFormat
String that represents the format in which dates are displayed. Can not be null.
Examples
The dates for English (U.S.) is "mm/dd/yyyy"
Public propertyCode exampleDateDisplayLocale
Allows to set/get the language format for the date displayed in this SDT.
Public propertyCode exampleDateStorageFormat
Gets/sets format in which the date for a date SDT is stored when the SDT is bound to an XML node in the document's data store. Default value is DateTime
Public propertyCode exampleDocument
Gets the document to which this node belongs.
(Inherited from Node.)
Public propertyCode exampleEndCharacterFont
Font formatting that will be applied to the last character of text entered into SDT.
Public propertyCode exampleFirstChild
Gets the first child of the node.
(Inherited from CompositeNode.)
Public propertyCode exampleFullDate
Specifies the full date and time last entered into this SDT.
Public propertyCode exampleHasChildNodes
Returns true if this node has any child nodes.
(Inherited from CompositeNode.)
Public propertyCode exampleId

Specifies a unique read-only persistent numerical Id for this SDT.

Public propertyCode exampleIsComposite
Returns true as this node can have child nodes.
(Inherited from CompositeNode.)
Public propertyCode exampleIsShowingPlaceholderText

Specifies whether the content of this SDT shall be interpreted to contain placeholder text (as opposed to regular text contents within the SDT).

if set to true, this state shall be resumed (showing placeholder text) upon opening this document.

Public propertyCode exampleIsTemporary
Specifies whether this SDT shall be removed from the WordPprocessingML document when its contents are modified.
Public propertyCode exampleLastChild
Gets the last child of the node.
(Inherited from CompositeNode.)
Public propertyCode exampleLevel
Gets the level at which this SDT occurs in the document tree.
Public propertyCode exampleListItems
Gets SdtListItemCollection associated with this SDT.
Public propertyCode exampleLockContentControl
When set to true, this property will prohibit a user from deleting this SDT.
Public propertyCode exampleLockContents
When set to true, this property will prohibit a user from editing the contents of this SDT.
Public propertyCode exampleMultiline
Specifies whether this SDT allows multiple lines of text.
Public propertyCode exampleNextSibling
Gets the node immediately following this node.
(Inherited from Node.)
Public propertyCode exampleNodeType
Returns NodeType.StructuredDocumentTag.
(Overrides NodeNodeType.)
Public propertyCode exampleParentNode
Gets the immediate parent of this node.
(Inherited from Node.)
Public propertyCode examplePlaceholder
Gets the BuildingBlock containing placeholder text which should be displayed when this SDT run contents are empty, the associated mapped XML element is empty as specified via the XmlMapping element or the IsShowingPlaceholderText element is true.
Public propertyCode examplePlaceholderName

Gets or sets Name of the BuildingBlock containing placeholder text.

BuildingBlock with this name Name has to be present in the GlossaryDocument otherwise InvalidOperationException will occur.

Public propertyCode examplePreviousSibling
Gets the node immediately preceding this node.
(Inherited from Node.)
Public propertyCode exampleRange
Returns a Range object that represents the portion of a document that is contained in this node.
(Inherited from Node.)
Public propertyCode exampleSdtType
Gets type of this Structured document tag.
Public propertyCode exampleStyle
Gets or sets the Style of the structured document tag.
Public propertyCode exampleStyleName
Gets or sets the name of the style applied to the structured document tag.
Public propertyCode exampleTag
Specifies a tag associated with the current SDT node. Can not be null.
Public propertyCode exampleTitle
Specifies the friendly name associated with this SDT. Can not be null.
Public propertyCode exampleXmlMapping
Gets an object that represents the mapping of this structured document tag to XML data in a custom XML part of the current document.
See Also