The requested page is not available for the requested platform. You are viewing the content for Default platform.

SimpleAction Class

Represents a Simple Action.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[ToolboxTabName("DX.19.1: XAF Actions")]
public class SimpleAction :
    ActionBase
<ToolboxTabName("DX.19.1: XAF Actions")>
Public Class SimpleAction
    Inherits ActionBase

Remarks

The SimpleAction class inherits the basic functionality of Actions from the ActionBase class. Built-in Action Containers display Simple Actions via a button. Simple Actions are used to execute custom code when an end-user clicks this button. For this purpose, the SimpleAction.Execute event is designed.

To add a Simple Action to a Controller, drag and drop the SimpleAction item from the XAF Actions section on the Toolbox to the required Controller's Designer area (see Add a Simple Action). 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).

Generally, you do not need to create SimpleAction objects manually. All Actions are created together with their Controllers in each Window and Frame.

Inheritance

Implements

DevExpress.ExpressApp.Actions.ISupportClientScripts
See Also