ContentControl.BuildingBlockCategory Property
Word Developer Reference |
Returns or sets a String that represents the category for a building block content control. Read/write.
Version Information
Version Added: Word 2007
Syntax
expression.BuildingBlockCategory
expression An expression that returns a ContentControl object.
Remarks
This property applies only to building block content controls and corresponds with the Category option in the Content Control Properties dialog box. You can set this property to any string; however, if you set it to a string for which there is no corresponding category, the value of the Category option is set to "(All Categories)".
Example
The following example creates a new building block content control and specifies the type of building block and the gallery.
Visual Basic for Applications |
---|
|
See Also
- ContentControl Object
- ContentControl Object Members
- How to: Bind a Content Control to a Node in the Data Store
- How to: Bind Controls to a Specific Row in the Data Store When Inserting a Building Block
- How to: Change a Content Control from One Type to Another
- How to: Change the Editability of a Content Control
- How to: Create a Custom Building Block Gallery
- How to: Filter the Building Block List in a Content Control
- How to: Insert a Content Control into a Building Block
- How to: Remove Data from the Data Store When Deleting a Content Control
- How to: Set the Building Blocks That You Can Use for a Content Control
- Walkthrough: Connect an Item in the Data Store to a SQL Server Database
- Walkthrough: Connect an Item in the Data Store to a Web Service
- Walkthrough: Connect an Item in the Data Store to an Access Database
- Walkthrough: Connect an Item in the Data Store to an Excel Workbook
- Working with Building Blocks
- Working with Content Controls