ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TOCActiveMapViewProviderPane Class / OnActivate Method
True if this pane is being made the active pane, otherwise false

In This Topic
    OnActivate Method (TOCActiveMapViewProviderPane)
    In This Topic
    Called when the pane is activated (receives focus - active is true) or deactivated (loses focus - active is false).
    Syntax
    Protected Overrides Sub OnActivate( _
       ByVal active As Boolean _
    ) 
    protected override void OnActivate( 
       bool active
    )

    Parameters

    active
    True if this pane is being made the active pane, otherwise false
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also