Skip to main content
.NET 6.0+

SimpleAction(IContainer) Constructor

Creates a new Simple Action and initializes its container.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public SimpleAction(
    IContainer container


Name Type Description
container IContainer

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SimpleAction(IContainer) constructor.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also