ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / RemoveOverlayControl Method
The control to remove.

RemoveOverlayControl Method
Remove a control from over the view.
Syntax
public bool RemoveOverlayControl( 
   IMapViewOverlayControl overlayControl
)

Parameters

overlayControl
The control to remove.

Return Value

True if the control was removed, false if the control was not found.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also