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.

AddOverlayControl Method
Add a control over the view.
Syntax
public void AddOverlayControl( 
   IMapViewOverlayControl overlayControl
)

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

ArcGIS Pro version: 2.1 or higher.
See Also