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

DetailView.SelectedObjects Property

Returns a Detail View's DetailView.CurrentObject.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public override IList SelectedObjects { get; }
Public Overrides ReadOnly Property SelectedObjects As IList
public override IList SelectedObjects { get; }
Public Overrides ReadOnly Property SelectedObjects As IList
public override IList SelectedObjects { get; }
Public Overrides ReadOnly Property SelectedObjects As IList

Property Value

Type Description
IList

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

Property Value

Type Description
IList

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

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