Skip to main content
.NET 6.0+

ActionBase.Executing Event

Occurs before an end-user performs the operation that leads to raising an Action‘s Execute event.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public event CancelEventHandler Executing

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.


The main entry point of Actions is their Execute event. This event is raised when an end-user performs a predefined operation, specified in different ways for 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 Executing event to cancel execution of the current Action. For this purpose, set the handler’s CancelEventHandler.Cancel parameter to true. In this instance, the ActionBase.ExecuteCanceled event will be raised.

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


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