BuildingBlockGalleryContentControl.Parent Property

Gets the parent of the BuildingBlockGalleryContentControl.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property Parent As Object
Object Parent { get; }

Property Value

Type: System.Object
An object that represents the parent of the BuildingBlockGalleryContentControl.

Remarks

The parent of the BuildingBlockGalleryContentControl is the object in which the control is contained. For example, if the control is in the body of the document, this property will return a Microsoft.Office.Interop.Word.Document object.

To get the parent of a BuildingBlockGalleryContentControl that is contained in a RichTextContentControl or a GroupContentControl, use the ParentContentControl property.

.NET Framework Security

See Also

Reference

BuildingBlockGalleryContentControl Interface

Microsoft.Office.Tools.Word Namespace