This documentation is archived and is not being maintained.

RichTextContentControl.Parent Property

Gets the parent of the RichTextContentControl.

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

Object Parent { get; }

Property Value

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

The parent of the RichTextContentControl 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 RichTextContentControl that is contained in another RichTextContentControl or a GroupContentControl, use the ParentContentControl property.