Share via


ContentControl.ParentContentControl Property

Definition

Gets the parent content control of a ContentControl 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

The content control in which the ContentControl is nested; null if the ContentControl 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