Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentControlType Enumeration

In This Topic
    ContentControlType Enumeration
    In This Topic
    Specifies the type of content control.
    Syntax
    'Declaration
     
    Public Enum ContentControlType 
       Inherits System.Enum
    public enum ContentControlType : System.Enum 
    Members
    MemberDescription
    Bibliography Specifies that the content control shall be of type bibliography. This setting does not require or imply that the contents of the content control shall contain only a field of type BIBLIOGRAPHY, it shall only be used to specify that the content control is of this kind, which can be used by an application as desired. NOTE: This type is ignored by Microsoft Word.
    BuildingBlockSpecifies that the content control shall be of a building block type. This setting does not require or imply that the contents of the control shall contain only the exact contents of a buildin block of the specified gallery and category which is present on the current machine, it shall only be used to specify that the content control is of this kind, which shall be used by an application to present the possible list of choices for insertion into the content control. This type differs from the BuildingBlockGallery in that it can be used to semantically tag a set of block-level objects in a document without requiring the ability to specify a category and gallery of objects which can be swapped with it via the user interface. NOTE: This type is ignored by Microsoft Word.
    BuildingBlockGallery Specifies that the content control shall be of a building block gallery type. This setting does not require or imply that the contents of control shall contain only the exact contents of a building block of the specified gallery and category which is present on the current machine, it shall only be used to specify that the content control is of this kind, which shall be used by an application to present the possible list of choices for insertion into the content control.
    CheckBox Specifies that the content control is a checkbox when displayed in the document. The control contents MUST contain a single character.
    Citation Specifies that the content control shall be of type citation. This setting does not require or imply that the contents of the structured document tag shall contain only a field of type CITATION, it shall only be used to specify that the content control is of this type, which can be used by an application as desired. NOTE: This type is ignored by Microsoft Word.
    ComboBoxSpecifies that the content control shall be a combo box when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The property DropdownList specify choices which shall be displayed in a standard drop-down list format. Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.
    Date Specifies that the content control shall be a date picker when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table cell.
    DropdownListSpecifies that the content control shall be a drop-down list when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents shall not be editable when displayed by a hosting application regardless of the locking properties. The property DropdownList specify choices which shall be displayed in a standard drop-down list format. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.
    Equation Specifies that the content control shall be of type equation. This setting does not require or imply that the contents of the structured document tag shall contain only an equation or associated placeholder text, it shall only be used to specify that the content control is of this kind, which can be used by an application as desired.
    ExternalContentEntityPickerSpecifies that the content control allows the user to select an instance of an external content type when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties) with exceptions for soft carriage returns via the ContentControl.MultiLine property on this control. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table. The content control MUST specifiy ContentControl.XmlMapping property. The document MUST contain a custom XML data part whose root namespace is "http://schemas.microsoft.com/office/2006/metadata/properties", and whose identifier matches the value specified by the XmlMapping.CustomXmlPartId property. The XmlMapping.XPath property MUST specify the path to an element within that custom XML data part. The document MUST also contain a custom XML data part whose root namespace is "http://schemas.microsoft.com/office/2006/metadata/contentType". This custom XML data part contains a schema element (in the "http://www.w3.org/2001/XMLSchema" namespace) that specifies an XML Schema for the element specified by the XmlMapping.XPath property.
    Group Specifies that the content control shall be a restricted grouping when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents of this control shall not be editable when displayed by a hosting application regardless of the locking properties. This restriction can be superseded by any content control contained within the group, as each content control specifies the locking properties for its own content.
    Picture Specifies that the content control shall be a picture when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents shall always be restricted to a single picture. As well, the content control shall satisfy the following restraints: The contents shall only be a single picture. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.
    RepeatingSectionSpecifies that the content control is a container for repeated items. The content control MUST contain only content controls with RepeatingSectionItem type. If ContentControl.XmlMapping is specified and the binding results in finding XML elements then the numerical relation between the number of elements matched and the number of child content controls contained MUST be maintained. NOTE: This type is ignored by Microsoft Word.
    RepeatingSectionItemSpecifies that the content control is a repeated item. The content control MUST be contained within a content control with RepeatingSection type and MUST be either level ContentControlLevel.Block, ContentControlLevel.Row, or ContentControlLevel.Cell.
    RichText Specifies that the content control shall be a rich text box when displayed in the document.
    TextSpecifies that the content control shall be a plain text box when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties) with exceptions for soft carriage returns via the ContentControl.MultiLine property on this control. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Word.ContentControlType

    See Also