ContentControl Properties (Word)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
Properties
Name |
Description |
---|---|
Gets or sets whether users can add or remove sections from the specified repeating section content control by using the user interface. |
|
Returns or sets the appearance of the content control. Read/write WdContentControlAppearance. |
|
Returns an Application object that represents the Microsoft Word application. |
|
Returns or sets a String that represents the category for a building block content control. Read/write. |
|
Returns or sets a WdBuildingBlockTypes constant that represents they type of building block for a building block content control. Read/write. |
|
Returns or sets a Boolean that represents the current state (checked/unchecked) for a check box. Read/Write. |
|
Returns or sets the color of the content control. Read/write WdColor. |
|
Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only Long. |
|
Returns or sets a WdCalendarType constant that represents the calendar type for a calendar content control. Read/write. |
|
Returns or sets a String that represents the format in which dates are displayed. Read/write. |
|
Returns a WdLanguageID that represents the language format for the date displayed in a date content control. Read/write. |
|
Returns or sets a WdContentControlDateStorageFormat that represents the format for storage and retrieval of dates when a date content control is bound to the XML data store of the active document. Read/write. |
|
Returns or sets a Variant that represents the name of the character style to use to format text in a text content control. Read/write. |
|
Returns a ContentControlListEntries collection that represents the items in a drop-down list content control or in a combo box content control. Read-only. |
|
Returns a String that represents the identification for a content control. Read-only. |
|
Returns the level of the content control—whether the content control surrounds text, paragraphs, table cells, or table rows; or if it is inline. Read-only WdContentControlLevel. |
|
Returns or sets a Boolean that represents whether the user can delete a content control from the active document. Read/write. |
|
Returns or sets a Boolean that represents whether the user can edit the contents of a content control. Read/write. |
|
Returns a Boolean that represents whether a text content control allows multiple lines of text. Read/write. |
|
Returns an Object that represents the parent object of the specified ContentControl object. |
|
Returns a ContentControl that represents the parent content control for a content control that is nested inside a rich-text control or group control. Read-only. |
|
Returns a BuildingBlock object that represents the placeholder text for a content control. Read-only. |
|
Returns a Range that represents the contents of the content control in the active document. Read-only. |
|
Returns the collection of repeating section items in the specified repeating section content control. Read-only. |
|
Returns or sets the name of the repeating section items used in the context menu associated with the specified repeating section content control. Read/write. |
|
Returns a Boolean that indicates whether the placeholder text for the content control is displayed. Read-only. |
|
Returns or sets a String that represents a value to identify a content control. Read/write. |
|
Returns or sets a Boolean that represents whether to remove a content control from the active document when the user edits the contents of the control. Read/write. |
|
Returns or sets a String that represents the title for a content control. Read/write. |
|
Returns or sets a WdContentControlType that represents the type for a content control. Read/write. |
|
Returns an XMLMapping object that represents the mapping of a content control to XML data in the data store of a document. Read-only. |