.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ParametrizedAction.Execute Event

Occurs after a Parametrized Action's editor value has been validated.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.2.dll


public event ParametrizedActionExecuteEventHandler Execute
Public Event Execute As ParametrizedActionExecuteEventHandler

Event Data

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

Property Description
Action Provides access to the Action being executed. Inherited from ActionBaseEventArgs.
CurrentObject Provides access to the current object represented by the currently displayed View. Inherited from SimpleActionExecuteEventArgs.
ParameterCurrentValue Returns the value that has been entered into a Parametrized Action's editor.
SelectedObjects Provides access to the objects selected in the currently invoked View. Inherited from SimpleActionExecuteEventArgs.
ShowViewParameters Provides access to the ShowViewParameters object, specifying a View, displayed after executing the current Action. Inherited from ActionBaseEventArgs.


In Windows Forms applications, end-users can validate entered values by pressing the ENTER or ESC key or moving focus outside the edited cell. In Web sites, the entered value is validated either after the editor's Text property value has been changed or when clicking the button attached to this editor. Handle this event to execute custom code after an end-user has validated the entered value. To access this value, use the handler's ParametrizedActionExecuteEventArgs.ParameterCurrentValue parameter.

If you need an additional View to be displayed after executing the event, use the handler's ActionBaseEventArgs.ShowViewParameters parameter to specify this View and its settings.

For additional information, refer to the How to: Access Objects Selected in the Current View help topic.

See Also