RichTextContentControl.ParentContentControl Property


Gets the parent content control of a RichTextContentControl that is nested in another content control.

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

ContentControl ParentContentControl { get; }

Property Value

Type: Microsoft.Office.Interop.Word.ContentControl

A Microsoft.Office.Interop.Word.ContentControl that represents the content control in which the RichTextContentControl is nested; null if the RichTextContentControl is not nested in another content control.

The RichTextContentControl and GroupContentControl controls are the only types of content controls that can contain nested content controls.

Return to top