ActionUrl(Controller, String, String) Constructor

Creates an ActionUrl and initializes its properties by specified values.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

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

Parameters

Type Name Description
Controller owner

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

String id

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

String category

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