ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework Namespace / FrameworkApplication Class / CreateContextMenu Method / CreateContextMenu(String,Func<Object>) Method

In This Topic
    CreateContextMenu(String,Func<Object>) Method
    In This Topic
    Creates a WPF context menu.
    Syntax
    public static ContextMenu CreateContextMenu( 
       string menuID,
       Func<object> property
    )
    Public Overloads Shared Function CreateContextMenu( _
       ByVal menuID As String, _
       Optional ByVal property As Func(Of Object) _
    ) As ContextMenu

    Parameters

    menuID
    The DAML menu identifier.
    property

    Return Value

    A new ContextMenu object.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also