ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / ActiveElementContainer Property

ActiveElementContainer Property (LayoutView)
Gets the active element container
Syntax
public IElementContainer ActiveElementContainer {get;}
Remarks
Returns null if there is no active element container
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also