Skip to main content
.NET Framework 4.5.2+

ActionBase.ExecuteCompleted Event

Occurs after all actions implemented in the Execute, ActionBase.Executed and ActionBase.ProcessCreatedView event handlers have been performed.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public event EventHandler<ActionBaseEventArgs> ExecuteCompleted

Event Data

The ExecuteCompleted event's data class is ActionBaseEventArgs. The following properties provide information specific to this event:

Property Description
Action Provides access to the Action being executed.
ShowViewParameters Provides access to the ShowViewParameters object, specifying a View, displayed after executing the current Action.

Remarks

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.

Note

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).

See Also