ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / AddOverlayControl Method
A class containing the control to add. MapViewOverlayControl can be used or create another class that implements IMapViewOverlayControl.

In This Topic
    AddOverlayControl Method
    In This Topic
    Add a control over the view.
    Syntax
    public void AddOverlayControl( 
       IMapViewOverlayControl overlayControl
    )
    Public Sub AddOverlayControl( _
       ByVal overlayControl As IMapViewOverlayControl _
    ) 

    Parameters

    overlayControl
    A class containing the control to add. MapViewOverlayControl can be used or create another class that implements IMapViewOverlayControl.
    Remarks
    The control should be held in a member variable if access is required later, or to send to RemoveOverlayControl when no longer needed.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also