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

In This Topic
    GetOverlayControls Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also