Skip to main content

SingleChoiceAction(Controller, String, PredefinedCategory) Constructor

Creates a new instance of the SingleChoiceAction class and initializes its properties.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v26.1.dll

Declaration

public SingleChoiceAction(
    Controller owner,
    string id,
    PredefinedCategory category
)

Parameters

Name Type Description
owner Controller

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

id String

A string value representing the created Single Choice 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 Single Choice Action. This value is assigned to the ActionBase.Category property and used to map this Action to the appropriate Action Container.

Remarks

The constructor adds a Single Choice Action to the Controller specified by the owner parameter.

See Also