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

SimpleActionExecuteEventArgs(ActionBase, ISelectionContext) Constructor

Initializes a new instance of the SimpleActionExecuteEventArgs class.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.1.dll

Declaration

public SimpleActionExecuteEventArgs(
    ActionBase action,
    ISelectionContext context
)
Public Sub New(
    action As ActionBase,
    context As ISelectionContext
)

Parameters

Name Type Description
action ActionBase

An ActionBase object that represents the Action whose execution has raised the SimpleAction.Execute event. This parameter value is assigned to the ActionBaseEventArgs.Action property.

context DevExpress.ExpressApp.ISelectionContext

An instance of the class that implements the ISelectionContext interface. This parameter value is used to specify the SimpleActionExecuteEventArgs.SelectedObjects and SimpleActionExecuteEventArgs.CurrentObject properties.

Remarks

Since instances of the SimpleActionExecuteEventArgs class are automatically created and passed to handlers of the SimpleAction.Execute event, you do not need to call this constructor from your applications.

See Also