ArcGIS Pro 2.7 API Reference Guide
OnPaneDeactivated Method (Module)

ArcGIS.Desktop.Framework.Contracts Namespace > Module Class : OnPaneDeactivated Method
The Pane being deactivated.
Called by the Framework when a Pane is deactivated.
Syntax
protected internal virtual void OnPaneDeactivated( 
   Pane outgoingPane
)
Protected Friend Overridable Sub OnPaneDeactivated( _
   ByVal outgoingPane As Pane _
) 

Parameters

outgoingPane
The Pane being deactivated.
Remarks
Modules are automatically notified whenever one of its panes are activated, deactivated, opened, or closed. This means a Module doesn’t have to listen to the Framework’s ActivePaneChanged event and from here filter for its panes; instead, Modules are given direct notification that one of their panes changed.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Module Class
Module Members