ArcGIS Pro 2.8 API Reference Guide
OnToolDeactivateAsync Method

ArcGIS.Desktop.Mapping Namespace > MapTool Class : OnToolDeactivateAsync Method
A value indicating if the active MapView has changed.
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 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members