ListView.CurrentObject Property

Specifies a List View's current object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public override object CurrentObject { get; set; }

Returns

Type Description
Object

An Object representing the current List View's current object.

Use this property to access the focused object of the current List View's ListView.Editor. If the focused object changes, the View.CurrentObjectChanged event is raised.

When a List View is displayed in the ListViewAndDetailView mode (IModelListView.MasterDetailMode), the object specified by the CurrentObject property is displayed in the accompanying Detail View.

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

See Also