CADability dotNET
Creates a new context menu (popup menu) with the provided menu ids.

Namespace: CADability.UserInterface
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static ContextMenu CreateContextMenu(
	string[] menuIDs,
	ICommandHandler Handler
)
Visual Basic
Public Shared Function CreateContextMenu ( _
	menuIDs As String(), _
	Handler As ICommandHandler _
) As ContextMenu
Visual C++
public:
static ContextMenu^ CreateContextMenu(
	array<String^>^ menuIDs, 
	ICommandHandler^ Handler
)

Parameters

menuIDs
Type: array<System..::..String>[]()[][]
IDs of the menu items
Handler
Type: CADability.UserInterface..::..ICommandHandler
handler to handle the commands

Return Value

The created context menu

See Also