ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / OnToolDeactivateAsync Method
A value indicating if the active MapView has changed.

In This Topic
    OnToolDeactivateAsync Method (MapTool)
    In This Topic
    Occurs when the tool is deactivated.
    Syntax
    protected virtual Task OnToolDeactivateAsync( 
       bool hasMapViewChanged
    )
    Protected Overridable Function OnToolDeactivateAsync( _
       ByVal hasMapViewChanged As Boolean _
    ) As Task

    Parameters

    hasMapViewChanged
    A value indicating if the active MapView has changed.

    Return Value

    A Task that represents a tool deactivation event.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also