ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / OnToolDeactivateAsync Method
A value indicating if the active LayoutView has changed.
Version

OnToolDeactivateAsync Method (LayoutTool)
Occurs when the tool is deactivated.
Syntax
protected virtual Task OnToolDeactivateAsync( 
   bool hasVewChanged
)

Parameters

hasVewChanged
A value indicating if the active LayoutView has changed.

Return Value

A Task that represents a tool deactivation event.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also