The requested page is not available for the requested platform. You are viewing the content for Default platform.

ActionUrl(Controller, String, String) Constructor

Creates an ActionUrl and initializes its properties by specified values.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public ActionUrl(
    Controller owner,
    string id,
    string category
)
Public Sub New(
    owner As Controller,
    id As String,
    category As String
)

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