Skip to main content
.NET 6.0+

SingleChoiceAction(IContainer) Constructor

Creates a new Single Choice Action and initializes its container.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public SingleChoiceAction(
    IContainer container
)

Parameters

Name Type Description
container IContainer

An object that includes members of the IContainer interface. This object is assigned to the ActionBase.Controller property.

Remarks

Currently, members of the IContainer interface are implemented in the Controller class only. So, the contianer parameter is used to initialize the ActionBase.Controller property of the created Single Choice Action.

Usually, you do not need to create SingleChoiceAction objects manually. Instead, use the parent Controller’s Designer to add Actions. For details, refer to the Actions topic.

See Also