ArcGIS Pro 2.6 API Reference Guide
CreateContextMenu(String,Func<Object>) Method

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class > CreateContextMenu Method : CreateContextMenu(String,Func<Object>) Method
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
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members
Overload List