Name | Description | |
---|---|---|
Command Constructor | Overloaded. |
The following tables list the members exposed by Command.
Name | Description | |
---|---|---|
Command Constructor | Overloaded. |
Name | Description | |
---|---|---|
m_bSuspendExecute | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_CommandID | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_CommandType | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_Description | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_iImageIndex | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_ImageList | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_Shortcut | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_Tag | This member is reserved for internal use and is not intended to be used directly from your code. | |
m_ToolTipText | This member is reserved for internal use and is not intended to be used directly from your code. |
Name | Description | |
---|---|---|
CommandType | Gets the type of this command | |
Description | Gets or sets the command description. | |
ID | Gets or sets the command id | |
ImageIndex | Gets or sets the image index associated with the command. | |
ImageList | Gets or sets a reference to the image list associated with the command. | |
Shortcut | Gets or sets the Shortcut object associated with a command. | |
Tag | Gets or sets additional data associated with the command. | |
Tooltip | Gets the tooltip text for a command. |
Name | Description | |
---|---|---|
CanExecute | Determines if a command can be executed. | |
Execute | Executes a command with a specified additional data | |
GetCommandControl | Gets the control associated with a command. | |
IsChecked | Determines the check state of a command. | |
ToString | Provides a humer readable desciption of the command | |
UpdateControl | Updates the specified control with the current command state. |
Name | Description | |
---|---|---|
InitDefault | Initializes the default values of all the fields. | |
OnCommandExecuted | Fires the CommandExecuted event. | |
OnUpdateCommand | Fires the UpdateCommand event. |
Name | Description | |
---|---|---|
CommandExecuted | Fired when the command was executed. | |
UpdateCommand | Fired when a command needs to be updated. |