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

In This Topic
    OnToolDeactivateAsync Method (LayoutTool)
    In This Topic
    Occurs when the tool is deactivated.
    Syntax
    Protected Overridable Function OnToolDeactivateAsync( _
       ByVal hasVewChanged As Boolean _
    ) As Task
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also