Get the enabled/disabled state of a action in a menu (or/and on a toolbar)
Parameters
- strNameOfAction
- the name of the action (optional: with some parameters)
Return Value
true when the action is enabled
Eplan.EplApi.Gui.Menu theMenuToCheck = new Eplan.EplApi.Gui.Menu();
bool bIsEnabled = theMenuToCheck.IsActionEnabled("CustomAction1 /Parameter1:Value1");