ContentControl Properties

The ContentControl type exposes the following members.

  NameDescription
Public property Application Returns an _Application object that represents the Microsoft Word application.
Public property BuildingBlockCategory Returns or sets the category for a building block content control. Read/write.
Public property BuildingBlockType Returns or sets the type of building block for a building block content control. Read/write.
Public property Checked Gets or sets the current state (checked/unchecked) for a check box.
Public property Creator Returns a 32-bit integer that indicates the application in which the add-in was created. Read-only.
Public property DateCalendarType Returns or sets the calendar type for a calendar content control. Read/write.
Public property DateDisplayFormat Returns or sets the format in which dates are displayed. Read/write.
Public property DateDisplayLocale Returns a the language format for the date displayed in a date content control. Read/write.
Public property DateStorageFormat Returns or sets 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.
Public property DefaultTextStyle Returns or sets the name of the character style to use to format text in a text content control. Read/write.
Public property DropdownListEntries Returns the items in a drop-down list content control or in a combo box content control. Read-only.
Public property ID Returns the identification for a content control. Read-only.
Public property LockContentControl Returns or sets a Boolean that represents whether the user can delete a content control from the active document. Read/write.
Public property LockContents Returns or sets a Boolean that represents whether the user can edit the contents of a content control. Read/write.
Public property MultiLine Returns a Boolean that represents whether a text content control allows multiple lines of text. Read/write.
Public property Parent Returns an that represents the parent object of the specified ContentControl object.
Public property ParentContentControl Returns the parent content control for a content control that is nested inside a rich-text control or group control. Read-only.
Public property PlaceholderText Returns a BuildingBlock object that represents the placeholder text for a content control. Read-only.
Public property Range Returns a Range that represents the contents of the content control in the active document. Read-only.
Public property ShowingPlaceholderText Returns a Boolean that indicates whether the placeholder text for the content control is displayed. Read-only.
Public property Tag Returns or sets a value to identify a content control. Read/write.
Public property Temporary 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.
Public property Title Returns or sets the title for a content control. Read/write.
Public property Type Returns or sets the type for a content control. Read/write.
Public property XMLMapping Returns the mapping of a content control to XML data in the data store of a document. Read-only.
Top

Community Additions

ADD
Show:
© 2015 Microsoft