ArcGIS Pro 3.7 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 Friend Overridable Sub OnContextMenu( _
       ByVal contextMenu As ContextMenu _
    ) 
    protected internal virtual void OnContextMenu( 
       ContextMenu contextMenu
    )

    Parameters

    contextMenu
    The default ContextMenu for the Pane.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also