Skip to main content
.NET 6.0+

DetailView.SelectedObjects Property

Returns a Detail View’s DetailView.CurrentObject.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.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