Command Class Members
The following tables list the members exposed by Command.
Public Fields
| Name | Description | |
|---|---|---|
|  | messageDisplayed | true if message displayed. | 
Public Properties
| Name | Description | |
|---|---|---|
|  | AllowWaitCursor | Get/Set AllowWaitCusor value. | 
|  | ApplicationContext | Application context for which this command is valid. | 
|  | AttachedExecutorsCount | Get the number of CommandExecutors attached to the command | 
|  | Checked | Gets or sets if the command is in a checked state. Setting this value will set the CommandExecutor.Checked property on all attached CommandExecutors. | 
|  | ContextObjectKey | Key to Context object. | 
|  | Description | Description for the command. | 
|  | Enabled | Gets or sets if the command is enabled. Setting this value will set the CommandExecutor.Enabled property on all attached CommandExecutors. | 
|  | ExecuteOnCheckedChange | Gets or sets a value indicating whether the execute on checked change. | 
|  | Executes | Get all command Execute overloads. | 
|  | IgnoreExecutors | Gets a value indicating whether to ignore executors. | 
|  | Internal | Flag to control the visibility of the command in Customization dialog. | 
|  | IsValid | Gets the IsValid status of the command. A Command may become invalid in some application contexts. | 
|  | Key | The commands key in the CommandCollection. | 
|  | List | ArrayList which can contain data to be presented in the GUI. | 
|  | RunInBackground | Gets or sets a value indicating whether the command should run in background. | 
|  | SelectedIndex | Used to communicate to the command which item in the list was selected. | 
|  | Value | Setting this value will set the CommandExecutor.Value property on all attached CommandExecutors. | 
|  | ValueChanged | True if the value of the command has been changed. | 
|  | Visible | Gets or sets if the command is visible. Setting this value will set the CommandExecutor.Visible property on all attached CommandExecutors. | 
Public Methods
| Name | Description | |
|---|---|---|
|  | AttachExecutor | Attaches a CommandExecutor derived class to the command. | 
|  | CancelableExecute | Overloaded. Version of Execute which can be cancelled by an BeforeCommandExecute event handler and which takes arguments. | 
|  | DetachAllExecutors | Detach all CommandExecutor derived classes from the command. | 
|  | DetachExecutor | Detach a CommandExecutor derived class from the command. | 
|  | Execute | Overloaded. The command Execute method which takes arguments, and calls a matching Execute in a derived class. | 
|  | FindExecute | Finds a matching execute overload. | 
|  | GetState | Gets the current state of the command. | 
|  | Refresh | Overloaded. Call to allow the command to update its visibility or enabled state following a change to system. | 
|  | Select | Select the executors (e.g. for Context Tabs) | 
|  | SetProperty | Sets a property. | 
Public Events
| Name | Description | |
|---|---|---|
|  | BeforeCommandExecute | Occurs before the command is executed. | 
|  | CommandExecuted | Occurs when the command is executed. | 
See Also
                        
                    