.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

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.v21.2.dll

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExecuteCompleted event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also