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

In This Topic
    OnContextMenu Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also