Skip to main content
.NET Standard 2.0+

ListViewProcessCurrentObjectController.ProcessCurrentObjectAction Property

Provides access to the ListViewShowObject Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v21.2.dll


public SimpleAction ProcessCurrentObjectAction { get; }

Property Value

Type Description

A SimpleAction object representing the Open Action.


This Action invokes a Detail View representing the object that is double-clicked in the current List View, or for which ENTER is pressed (the ListViewProcessCurrentObjectController class description contains details on this).

The Open Action’s ActionBase.Category property is set to ListView. This means that the Action must be displayed by the ListView ActionContainer. However, this Action Contianer is not included into built-in Templates. So, the Action is not visualized.

If you want to customize the process of executing the Action, inherit from the ListViewProcessCurrentObjectController and override its ExecuteProcessCurrentObject method. Currently, this method calls the ListViewProcessCurrentObjectController.ShowObject method, which invokes a Detail View.

By default, the ListViewShowObject Action is active when the ListViewProcessCurrentObjectController is active, and when a single object is selected in the current List View. To ascertain why the Action is currently deactivated or disabled, use the DiagnosticInfo Action. If you need to change the Action’s “active” or “enabled” state in code, use its ActionBase.Active or ActionBase.Enabled property, respectively.

Information on the ListViewShowObject Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.

If you require that another Action is executed instead of the Open Action, handle the ListViewProcessCurrentObjectController.CustomProcessSelectedItem event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ProcessCurrentObjectAction property.


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.

See Also