Name | Description | |
---|---|---|
DesignerAction Constructor |
The following tables list the members exposed by DesignerAction.
Name | Description | |
---|---|---|
DesignerAction Constructor |
Name | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AddToToolbar | Add a command button to the toolbar in addition to the menu item. | |||||||||||
IconId | Icon-ID for the command button. Will only be evaluated if the flag LLDESADDACTIONFLAG_ADD_TO_TOOLBAR is set. Use the program IconSelector.exe (in the Tools directory) to see the list of available icons with their IDs. | |||||||||||
InsertionType | Defines if the menu item is inserted before or after the entry specified in MenuHierarchy. | |||||||||||
MenuHierarchy | Menu hierarchy of the new menu item. The description is given in the form of "<Level>.<Level>…" whereby "Level" is always the 0-based index of the menu entry. For example, to insert a new entry in the first place in the "Edit" menu, use "1.0" and LLDESADDACTION_MENUITEM_INSERT. | |||||||||||
MenuText | Menu text without a keyboard shortcut (this will be added automatically). You can however, use the "&" symbol to allocate the shortcuts for menu navigation. Use "." as a hierarchy separator to create submenu items. For example, in order to create a Menu "Draft" with a sub-point "Invoices", use "Draft.Invoices" as a menu text. | |||||||||||
ShortcutKeys | Optional Keycode as a Shortcut and a combination of the following flags as modifiers:
| |||||||||||
TooltipText | Text for the tooltip on the toolbar command button. Will only be evaluated if the flag LLDESADDACTIONFLAG_ADD_TO_TOOLBAR is set. May be NULL. |
Name | Description | |
---|---|---|
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose | (Inherited from System.ComponentModel.Component) | |
GetLifetimeService | (Inherited from System.ComponentModel.Component) | |
InitializeLifetimeService | (Inherited from System.ComponentModel.Component) | |
ToString | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
ExecuteAction | Is called when the user triggered an action. | |
GetActionState | Is called when the toolbar is refreshed. With this event you can define the state of the action. |