CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Override if you also override OnCommand(String) to manipulate the appearance
of the corresponding menu item or the state of the toolbar button. The default implementation
checks whether the MenuId from the parameter corresponds to the menuId member variable
and checks the item if appropriate
Namespace: CADability.ActionsAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public virtual bool OnUpdateCommand( string MenuId, CommandState CommandState ) |
Visual Basic |
---|
Public Overridable Function OnUpdateCommand ( _ MenuId As String, _ CommandState As CommandState _ ) As Boolean |
Visual C++ |
---|
public: virtual bool OnUpdateCommand( String^ MenuId, CommandState^ CommandState ) |
Parameters
- MenuId
- Type: System..::..String
menu id the command state is queried for
- CommandState
- Type: CADability.UserInterface..::..CommandState
the command state to manipulate