CADability dotNET
Update the command user interface of the given command. Return true if handled, false otherwise.

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

Syntax

C#
bool OnUpdateCommand(
	string MenuId,
	CommandState CommandState
)
Visual Basic
Function OnUpdateCommand ( _
	MenuId As String, _
	CommandState As CommandState _
) As Boolean
Visual C++
bool OnUpdateCommand(
	String^ MenuId, 
	CommandState^ CommandState
)

Parameters

MenuId
Type: System..::..String
Id of the menu command to be processed
CommandState
Type: CADability.UserInterface..::..CommandState
State object to modify if apropriate

Return Value

true, if handled, fals otherwise

See Also