The requested page is not available for the requested platform. You are viewing the content for Default platform.

SingleChoiceActionExecuteEventArgs(ActionBase, ISelectionContext, ChoiceActionItem) Constructor

Initializes a new instance of the SingleChoiceActionExecuteEventArgs class.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public SingleChoiceActionExecuteEventArgs(
    ActionBase action,
    ISelectionContext context,
    ChoiceActionItem selectedItem
)
Public Sub New(
    action As ActionBase,
    context As ISelectionContext,
    selectedItem As ChoiceActionItem
)

Parameters

Name Type Description
action ActionBase

An ActionBase object that represents the Action whose execution has raised the SingleChoiceAction.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.

selectedItem ChoiceActionItem

A ChoiceActionItem object that represents the Single Choice Action's selected object. This value is assigned to the SingleChoiceActionExecuteEventArgs.SelectedChoiceActionItem property.

Remarks

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

See Also