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

In This Topic
    OnClosing Method
    In This Topic
    Called when a request has been made to close the Pane.
    Syntax
    protected internal virtual void OnClosing( 
       CancelRoutedEventArgs e
    )
    Protected Friend Overridable Sub OnClosing( _
       ByVal e As CancelRoutedEventArgs _
    ) 

    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