ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Pane Class / OnClosing Method
The ArcGIS.Desktop.Framework.Events.CancelRoutedEventArgs that contains the event data.
Version

OnClosing Method
Called when a request has been made to close the Pane.
Syntax
protected internal virtual void OnClosing( 
   CancelRoutedEventArgs e
)

Parameters

e
The ArcGIS.Desktop.Framework.Events.CancelRoutedEventArgs that contains the event data.
Remarks

The Pane can decide to override and cancel the close request by setting the ArcGIS.Desktop.Framework.Events.CancelRoutedEventArgs.Cancel property to true.

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also