SimpleAction Class
A class that implements a Simple Action to execute custom code when a user clicks a button in an Action Container.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
The SimpleAction class inherits the basic functionality of Actions from the ActionBase class. Built-in Action Containers display Simple Actions as buttons. The SimpleAction.Execute event holds custom code that runs in response to button clicks.

Add a Simple Action
You can add a Single Choice Action to a Controller in code: see the Add a Simple Action (.NET) tutorial.
Alternatively, you can use the ActionAttribute to convert a business class’ method to an Action (see How to: Create an Action Using the Action Attribute).
Note
CodeRush allows you to add Actions and Controllers with a few keystrokes. To learn about the Code Templates for XAF, refer to the following help topic: XAF Templates.