ArcGIS Pro 2.9 API Reference Guide
OnToolDeactivateAsync Method (LayoutTool)

ArcGIS.Desktop.Layouts Namespace > LayoutTool Class : OnToolDeactivateAsync Method
A value indicating if the active LayoutView has changed.
Occurs when the tool is deactivated.
Syntax
protected virtual Task OnToolDeactivateAsync( 
   bool hasVewChanged
)
Protected Overridable Function OnToolDeactivateAsync( _
   ByVal hasVewChanged As Boolean _
) As Task

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, Windows 8.1

See Also

Reference

LayoutTool Class
LayoutTool Members