Occurs when an end-user clicks the required item located in the Single Choice Action's item list.
public event SingleChoiceActionExecuteEventHandler Execute
Public Event Execute As SingleChoiceActionExecuteEventHandler
The Execute event handler receives an argument of the SingleChoiceActionExecuteEventArgs type. The following properties provide information specific to this event.
|Action||Provides access to the Action being executed.|
|CurrentObject||Provides access to the current object represented by the currently displayed View.|
|SelectedChoiceActionItem||Provides access to a Single Choice Action's selected item.|
|SelectedObjects||Provides access to the objects selected in the currently invoked View.|
|ShowViewParameters||Provides access to the ShowViewParameters object, specifying a View, displayed after executing the current Action.|
Handle this event to execute custom code when an end-user clicks an item located in the current Single Choice Action's item list (see ChoiceActionBase.Items). To access this item, use the handler's SingleChoiceActionExecuteEventArgs.SelectedChoiceActionItem parameter. If you need an additional View to be displayed after executing the Action, use the ActionBaseEventArgs.ShowViewParameters parameter to specify this View and its settings.
For additional information, refer to the How to: Access Objects Selected in the Current View help topic.