.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ParametrizedAction(Controller, String, PredefinedCategory, Type) Constructor

Initializes a new instance of the ParametrizedAction class.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public ParametrizedAction(
    Controller owner,
    string id,
    PredefinedCategory category,
    Type valueType
)
Public Sub New(
    owner As Controller,
    id As String,
    category As PredefinedCategory,
    valueType As Type
)

Parameters

Name Type Description
owner Controller

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

id String

A string value representing the created Parametrized Action's identifier. This value is assigned to the ActionBase.Id property.

category DevExpress.Persistent.Base.PredefinedCategory

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

valueType Type

A Type value that specifies the type of the created Parametrized Action's ParametrizedAction.Value.

Remarks

Via this method, a Parametrized Action is created and added to the Controller specified by the owner parameter.

Usually, you do not need to create ParametrizedAction objects manually. Instead, use the parent Controller's Designer to add Actions. For details, refer to the Actions topic.

See Also