The CommandState enumeration specifies the visibility state for the M-Files command when it is displayed in the user interface. This enumeration is used in conjunction with the SetCommandState method.
| Member | Value | Description |
|---|---|---|
| CommandState_Active | 1 | The command is visible and it can be used. |
| CommandState_Hidden | 3 | The command is not visible. |
| CommandState_Inactive | 2 | The command is visible but it cannot be used. |
| CommandState_Undefined | 0 | Undefined value. |