ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElement Interface / GetParent Method
If true then the top most parent or 'container' is returned

GetParent Method (IElement)
Gets the parent of this element.
Syntax

Parameters

topMost
If true then the top most parent or 'container' is returned

Return Value

Remarks
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also