ArcGIS Pro 2.6 API Reference Guide
GetOverlayControls Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : GetOverlayControls Method
Get all the current overlay controls.
Syntax
public IReadOnlyCollection<UIElement> GetOverlayControls()
Public Function GetOverlayControls() As IReadOnlyCollection(Of UIElement)

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 10, Windows 8.1, Windows 7

See Also

Reference

MapView Class
MapView Members