.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SimpleActionExecuteEventArgs.CurrentObject Property

Provides access to the current object represented by the currently displayed View.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.2.dll


public object CurrentObject { get; }
Public ReadOnly Property CurrentObject As Object

Property Value

Type Description

An Object which is currently selected in a View.


Simple Actions, like other Actions, accompany Views. When handling the Simple Action's SimpleAction.Execute event, you can access the current object of the View that is accompanied by this Action. For this purpose, use the CurrentObject property.

For additional information, refer to the How to: Access Objects Selected in the Current View help topic.

See Also