ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / GetOverlayControls Method
Version

GetOverlayControls Method
Get all the current overlay controls.
Syntax
public IReadOnlyCollection<UIElement> GetOverlayControls()

Return Value

The collection of controls on the overlay window.
Remarks
This method is not meant to retrieve a specific control. It should be used to find the position of all existing controls to help with placement when calling AddOverlayControl.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also