ContentControl.Parent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent of the ContentControl.
public:
property System::Object ^ Parent { System::Object ^ get(); };
public object Parent { get; }
member this.Parent : obj
Public ReadOnly Property Parent As Object
Property Value
An object that represents the parent of the ContentControl.
Remarks
The parent of the ContentControl 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 ContentControl that is contained in a RichTextContentControl or a GroupContentControl, use the ParentContentControl property.