ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / HandleOnPaneActivateAsync Method

HandleOnPaneActivateAsync Method (MapTool)
Called to inform the Tool a Pane referencing it as the active tool is activating or deactivating.
Syntax
protected virtual Task HandleOnPaneActivateAsync( 
   bool active
)

Parameters

active
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also