Skip to main content
.NET Framework 4.6.2+

ActionUrl(IContainer) Constructor

Creates an ActionUrl and initializes its container.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ActionUrl(
    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

Use this method to create an ActionUrl object and add it to the Controller specified by the container parameter. Generally, you can add the new Action to another object that implements the IContainer interface. However, the XAF provides the only class that contains members of the IContainer interface - the Controller class.

The Action created via this method will be mapped to the Action Container specified as default in the current Template, because its ActionBase.Category property is set to the “Unspecified” value.

If you need to create an ActionUrl, add it to a specified Controller, and initialize its properties, use another ActionUrl constructor.

See Also