ArcGIS Pro 2.7 API Reference Guide
OnContextMenu Method (Pane)

ArcGIS.Desktop.Framework.Contracts Namespace > Pane Class : OnContextMenu Method
The default ContextMenu for the Pane.
Provides the Pane with the option to customize its ContextMenu before it is displayed.
Syntax
protected internal virtual void OnContextMenu( 
   ContextMenu contextMenu
)
Protected Friend Overridable Sub OnContextMenu( _
   ByVal contextMenu As ContextMenu _
) 

Parameters

contextMenu
The default ContextMenu for the Pane.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Pane Class
Pane Members