CommandLocation
The CommandLocation enumeration specifies the location for the M-Files command when it is displayed in the user interface. This enumeration is used in conjunction with the SetCommandState method.
| Name | Value | Description | 
|---|---|---|
| Undefined | 0 | Undefined value. | 
| MainMenu | 1 | Specifies the command appearance in the main menus, such as top menu and command bars. | 
| ContextMenu | 2 | Specifies the command appearance in the context menu. | 
| ActivityContextMenu | 6 | Specifies the command appearance in the activity context menu. | 
| TaskBar | 7 | Specifies the command appearance on task bar. NOTE: Stability is experimental. Non-backward compatible changes or removal may occur in any future release. Use of this feature is not recommended for production environments. | 
| All | 268435455 | Refers to all command locations. NOTE: Stability is experimental. Non-backward compatible changes or removal may occur in any future release. Use of this feature is not recommended for production environments. |