Skip to main content
.NET Framework 4.6.2+

ActionUrl(Controller, String, String) Constructor

Creates an ActionUrl and initializes its properties by specified values.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ActionUrl(
    Controller owner,
    string id,
    string category
)

Parameters

Name Type Description
owner Controller

A Controller object that represents a Controller to which the created Action will be added. This object is assigned to the ActionBase.Controller property.

id String

A String value representing the ID of the created Action. This value is assigned to the ActionBase.Id property.

category String

A String value that represents a category of the created Action. This value is assigned to the ActionBase.Category property, and is used to map this Action to the appropriate Action Container.

Remarks

Use this method to create an ActionUrl object, add it to the Controller specified by the owner parameter and initialize its ActionBase.Id and ActionBase.Category properties by the passed values. For the category parameter, use one of the DevExpress.Persistent.Base.PredefinedCategory enumeration values.

See Also