Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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