Skip to main content

CommandState

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.

NameValueDescription
MFiles.CommandState.CommandState_Undefined0Undefined value.
MFiles.CommandState.CommandState_Active1The command is visible and enabled.
MFiles.CommandState.CommandState_Hidden3The command is not visible.