ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Module Class / OnPaneActivated Method
The Pane being activated.

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

    Parameters

    incomingPane
    The Pane being activated.
    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, Windows 8.1

    See Also