ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework Namespace / FrameworkApplication Class / CreateContextMenu Method / CreateContextMenu(IEnumerable<String>) Method

In This Topic
    CreateContextMenu(IEnumerable<String>) Method
    In This Topic
    Creates a WPF context menu.
    Syntax
    public static ContextMenu CreateContextMenu( 
       IEnumerable<string> menuIDs
    )
    Public Overloads Shared Function CreateContextMenu( _
       ByVal menuIDs As IEnumerable(Of String) _
    ) As ContextMenu

    Parameters

    menuIDs
    The set of DAML menu identifier.

    Return Value

    A ContextMenu
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also