public event EventHandler<ActionBaseEventArgs> ExecuteCompleted
Public Event ExecuteCompleted As EventHandler(Of ActionBaseEventArgs)
The ExecuteCompleted event handler receives an argument of the ActionBaseEventArgs type. The following properties provide information specific to this event.
|Action||Provides access to the Action being executed.|
|ShowViewParameters||Provides access to the ShowViewParameters object, specifying a View, displayed after executing the current Action.|
The main entry point of Actions is their Execute event. This event is raised when an end-user performs a predefined operation, which is specified in a different way in each Action type. For instance, if you add an Action of the SimpleAction type, the Execute event is raised when an end-user clicks the button that corresponds to this Action. See the SimpleAction, ParametrizedAction, SingleChoiceAction, PopupWindowShowAction and ActionUrl classes, for details.
Handle the ExecuteCompleted event, to execute custom code after the Action execution has been completed.
In an Action's Execute event handler, you can specify a View to be shown after executing the code implemented in this handler. For this purpose, specify the handler's ActionBaseEventArgs.ShowViewParameters parameter. To access this View before it is shown, handle the ActionBase.ProcessCreatedView event. To access the View shown, handle the ExecuteCompleted event and use the handler's ActionBaseEventArgs.ShowViewParameters parameter. If a View has not been initialized in the Execute or ActionBase.Executed event handler, the ExecuteCompleted event handler's ShowViewParameters parameter returns null (Nothing in VB).