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.
Member | Value | Description |
---|---|---|
CommandLocation_All | 268435455 | Refers to all locations. |
CommandLocation_ContextMenu | 2 | Refers to the context menu and the Create button in the top pane. |
CommandLocation_MainMenu | 1 | Refers to the menu bar. Press Alt to show the menu bar in M-Files Desktop. |
CommandLocation_TaskPane | 4 | Refers to the task area. |
CommandLocation_Undefined | 0 | Undefined value. |