ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Tool Class / OnActivateAsync Method

In This Topic
    OnActivateAsync Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also