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

    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

    ArcGIS Pro version: 3.0 or higher.
    See Also