[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Collapse]Concepts
  [Expand]Application Solution Components
  [Expand]Business Model Design
  [Expand]Application Model
  [Expand]UI Construction
  [Collapse]Controllers and Actions
   [Expand]Built-in Controllers and Actions
    Controllers
   [Collapse]Actions
     Perform Common Tasks With XAF Actions
    [Expand]Access Actions in Different UI Areas
    Customize Controllers and Actions
    Add Actions to a Pop-up Window
    Dialog Controller
    Logon Form Controllers and Actions
    Determine Why an Action, Controller or Editor is Inactive
    Define the Scope of Controllers and Actions
    Determine an Action's Controller and Identifier
  [Expand]Data Manipulation and Business Logic
  [Expand]Security System
  [Expand]Localization
  [Expand]System Module
  [Expand]Extra Modules
  [Expand]Debugging, Testing and Error Handling
  [Expand]Filtering
  [Expand]Application Life Cycle
 [Expand]Design-Time Features
 [Expand]Deployment
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Actions

This article provides general information about Actions:

Expanded Action Definition

Actions are abstract UI elements that allow end-users to interact with XAF applications.

In the UI, XAF can display Actions as the following controls:

Control Name Control Appearance
A toolbar button
A context menu item
An editor
A simple button
Other controls -

You can access and modify the control associated with an Action in the ActionBase.CustomizeControl event handler.

Expanded Action Types

XAF Actions can be of different types:

You can also create custom Action types and custom controls.

Actions are located in Action Containers. To access all Actions in an Action Container, use the container's IActionContainer.Actions property.

Actions belong to Controllers. Use the Controller.Actions property to access a Controller's Action collection.

Expanded Action Locations

Expanded Action Implementation and Customization

Is this topic helpful?​​​​​​​