SimpleAction(IContainer) Constructor

Creates a new Simple Action and initializes its container.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public SimpleAction(
    IContainer container
)
Public Sub New(
    container As IContainer
)

Parameters

Type Name Description
IContainer container

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

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 Simple Action.

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

See Also