ArcGIS Pro 2.6 API Reference Guide
Subscribe Method (ActivePaneChangingEvent)

ArcGIS.Desktop.Framework.Events Namespace > ActivePaneChangingEvent Class : Subscribe Method
The method to call.
Subscribe with a strong reference. Default is false (weak reference).
Call the specified method whenever the event occurs.
Syntax
Public Shared Function Subscribe( _
   ByVal action As Action(Of PaneEventArgs), _
   Optional ByVal keepSubscriberAlive As Boolean _
) As SubscriptionToken

Parameters

action
The method to call.
keepSubscriberAlive
Subscribe with a strong reference. Default is false (weak reference).

Return Value

A SubscriptionToken that can be used to unsubscribe with.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ActivePaneChangingEvent Class
ActivePaneChangingEvent Members