AddAction(Action: IActionItem);
Action. Action that should be added to the list of the component actions.
The AddAction method adds the action to the list of actions of this component.
The method can be used to transfer actions from action collection of one component to the action collection of another component. If the action is created dynamically, it should be added to the collection of any component before its first use.
The example of use is given in description of the IMenuItem.Action property.
See also: