Enabled: Boolean;
The Enabled property determines whether an action can be executed.
If the property is set to True, the action is available. In this case corresponding menu option and toolbar button are available in the opened object.
If the property is set to False, the action is unavailable. In this case corresponding menu option and toolbar button in the opened object are highlighted in gray.
The property use is given in the example for the IUiCommandActionCustomize.Add method.
See also: