ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Module Class / OnPaneClosed Method
The Pane being closed.

In This Topic
    OnPaneClosed Method (Module)
    In This Topic
    Called by the Framework when a Pane is closed.
    Syntax
    protected internal virtual void OnPaneClosed( 
       Pane pane
    )
    Protected Friend Overridable Sub OnPaneClosed( _
       ByVal pane As Pane _
    ) 

    Parameters

    pane
    The Pane being closed.
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also