ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / ContextMenuID Property

In This Topic
    ContextMenuID Property (LayoutTool)
    In This Topic
    Gets or sets the DAML ID of the context menu for the tool.
    Syntax
    protected string ContextMenuID {get; set;}
    Protected Property ContextMenuID As String
    Remarks
    By default this will be null and will display the default context menu for the tool. To display no context menu set the value to an empty string or handle the OnToolMouseDown event for the right mouse button.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also