Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DetailView.SelectedObjects Property

Returns a Detail View’s DetailView.CurrentObject.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public override IList SelectedObjects { get; }

#Property Value

Type Description
IList

An array that contains a single object representing the current Detail View’s DetailView.CurrentObject.

#Remarks

Generally, there is no reason to use this property, as in the DetailView class, this property is overridden to return the DetailView.CurrentObject wrapped into a list. So, in most cases you should use the DetailView.CurrentObject property instead.

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

See Also