public bool IsActionEnabled( string strNameOfAction )
public: bool IsActionEnabled( String^ strNameOfAction )
Parameters
- strNameOfAction
- the name of the action (optional: with some parameters)
Return Value
true when the action is enabled
public bool IsActionEnabled( string strNameOfAction )
public: bool IsActionEnabled( String^ strNameOfAction )
Eplan.EplApi.Gui.Menu theMenuToCheck = new Eplan.EplApi.Gui.Menu(); bool bIsEnabled = theMenuToCheck.IsActionEnabled("CustomAction1 /Parameter1:Value1");