Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SingleChoiceAction(Controller, String, String) Constructor

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

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public SingleChoiceAction(
    Controller owner,
    string id,
    string 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 String

A string 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

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

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

See Also