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

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

Parameters

hasVewChanged
A value indicating if the active LayoutView has changed.

Return Value

A Task that represents a tool activation event.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.9 or higher.
See Also