IActionList.AddAction

Syntax

AddAction(Action: IActionItem);

Parameters

Action. Action that should be added to the list of component actions.

Description

The AddAction method adds an action to the list of actions of this component.

Comments

The method can be used to transfer actions from actions collection of one component to the actions collection of another component. If the action is created dynamically, it should be added to the collection of any component before its first use.

Example

The example of use is given in description of the IMenuItem.Action property.

See also:

IActionList