ContextMenuService.showContextMenu Method

Shows the context menu.
 

Parameters

commands

Type: Array
ElementType: Command
The commands to show in the context menu.
eventArgs

Type: EventArgs
(optional) The event arguments to use to configure the menu (eg: position). If this isn't specified, then the last known position is used.
Optional: True
canvasEventData

Type: Object
(optional) Event data with further positional information from the canvas.
Optional: True