ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Pane Class / OnContextMenu Method
The default ContextMenu for the Pane.
Version

OnContextMenu Method
Provides the Pane with the option to customize its ContextMenu before it is displayed.
Syntax
protected internal virtual void OnContextMenu( 
   ContextMenu contextMenu
)

Parameters

contextMenu
The default ContextMenu for the Pane.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also