SimpleAction(Controller, String, PredefinedCategory) Constructor
Creates a new instance of the SimpleAction class and initializes its properties.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v26.1.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| owner | Controller | A Controller object that represents a Controller to which the created Simple Action is added. This object is assigned to the ActionBase.Controller property. |
| id | String | A string value representing the created Simple Action 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 Simple 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 Simple Action to the Controller specified by the owner parameter.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SimpleAction(Controller, String, PredefinedCategory) constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.