CADability dotNET
Delegate definition for ProcessContextMenuEvent, which is raised when a context menu is about to be executed.

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

Syntax

C#
public delegate void ProcessContextMenuDelegate(
	ICommandHandler target,
	string MenuId,
	ref bool Processed
)
Visual Basic
Public Delegate Sub ProcessContextMenuDelegate ( _
	target As ICommandHandler, _
	MenuId As String, _
	ByRef Processed As Boolean _
)
Visual C++
public delegate void ProcessContextMenuDelegate(
	ICommandHandler^ target, 
	String^ MenuId, 
	bool% Processed
)

Parameters

target
Type: CADability.UserInterface..::..ICommandHandler
The commandhandler, to which this command is targeted
MenuId
Type: System..::..String
The menuid of the command (see MenuResource.xml)
Processed
Type: System..::..Boolean%
Set to true, if you have processed this command and no further action is required, leave unmodified if CADability should process this command

See Also