[ToolboxTabName("DX.19.2: XAF Actions")]
public class SingleChoiceAction :
<ToolboxTabName("DX.19.2: XAF Actions")>
Public Class SingleChoiceAction
The SingleChoiceAction class inherits both the basic functionality of Actions from the ActionBase class, and the functionality of Choice Actions - from the ChoiceActionBase class. Single Choice Actions are used to execute custom code when an end-user selects an item from the ChoiceActionBase.Items collection. You can populate this collection at design time via the Properties window. Select the Items property and click the ellipsis button provided for it. In the invoked ChoiceActionItems Collection Editor, add items and specify their settings.
Each item within the ChoiceActionBase.Items collection can contain child items as well. So, you can form a tree of items for a Single Choice Action.
You can specify the type of a Single Choice Action's items: they can represent either modes or operations. To do this, use the SingleChoiceAction.ItemType property.