Occurs before an end-user performs the operation that leads to raising an Action's Execute event.
[Browsable(false)] public event CancelEventHandler Executing
<Browsable(False)> Public Event Executing As CancelEventHandler
The Executing event's data class is CancelEventArgs. The following properties provide information specific to this event:
|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.