MacroCommandDescriptor Class |
Namespace: Articy.Api.Plugins
public class MacroCommandDescriptor
The MacroCommandDescriptor type exposes the following members.
Name | Description | |
---|---|---|
CanExecute |
a callback to use to calculate the "enabled" state on a "live" basis
| |
CaptionLid |
The Loca-Id or literal text of the caption text that appears in the context menu
| |
Enabled |
The enabled state of the command, can be used if you prefer to show entries disabled rather than excluding the entry at all.
| |
Execute |
The callback to use when the command is clicked
| |
Icon |
The icon to be used for the entry if no icon is specified as part of the caption
| |
ModifiesData |
Should be set to true when the command modifies data
| |
RecordUndoRedo |
Should be set to false if the command should (nor need) not to record undo-redo information
| |
TooltipLid |
The Loca-Id or literal text of the ToolTip that is shown
| |
UserData |
A user object to add custom data to the command, may be useful if several commands use the same Execute callback
|