ArcGIS Pro 2.7 API Reference Guide
OnActivateAsync Method

ArcGIS.Desktop.Framework.Contracts Namespace > Tool Class : OnActivateAsync Method
Called to inform the Tool it has been activated or deactivated.
Syntax
protected internal virtual Task OnActivateAsync( 
   bool isActive
)
Protected Friend Overridable Function OnActivateAsync( _
   ByVal isActive As Boolean _
) As Task

Parameters

isActive
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Tool Class
Tool Members