Share via


RichTextContentControl.ParentContentControl Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::ContentControl ^ ParentContentControl { Microsoft::Office::Interop::Word::ContentControl ^ get(); };
public Microsoft.Office.Interop.Word.ContentControl ParentContentControl { get; }
member this.ParentContentControl : Microsoft.Office.Interop.Word.ContentControl
Public ReadOnly Property ParentContentControl As ContentControl

Property Value

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

Remarks

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

Applies to