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 |
---|---|---|
MFiles.CommandLocation.Undefined | 0 | Undefined value. |
MFiles.CommandLocation.MainMenu | 1 | Specifies the command appearance in the main menus, such as top menu and command bars. |
MFiles.CommandLocation.ContextMenu | 2 | Specifies the command appearance in the context menu. |
MFiles.CommandLocation.TaskPane | 4 | Specifies the command appearance on task pane. |
MFiles.CommandLocation.AppToolbar | 5 | Specifies the command appearance on application toolbar. |
MFiles.CommandLocation.ActivityContextMenu | 6 | Specifies the command appearance in the activity context menu. |
MFiles.CommandLocation.All | 268435455 | Refers to all command locations. |