.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

SimpleActionExecuteEventArgs.SelectedObjects Property

Provides access to the objects selected in the currently invoked View.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public IList SelectedObjects { get; }

Property Value

Type Description
IList

A list of objects that are selected in the current View.

Remarks

Simple Actions, like other Actions, accompany Views. When handling the Simple Action’s SimpleAction.Execute event, you can access the selected objects of the View which is accompanied by this Action. To do this, use the SelectedObjects property.

Note

If a Simple Action accompanies a Detail VIew, the SelectedObjects property returns the View’s current object.

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

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

Note

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