Skip to main content

ListView Class

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public class ListView :
    ObjectView

Remarks

The ListView class allows you to view or edit an objects collection.

List Views take part in the automatic UI construction, so you do not spend time on ListView objects creation.

To influence this process, edit the Application Model‘s Views | <ListView> (LookupListView) node. In this node, you can specify the following:

  • Type of objects to be displayed
  • Columns to be displayed
  • Order and visibility of the columns

To customize a List View in code, use either of the following properties:

To perform custom actions when a user selects an object in a List View’s editor, handle the ListViewProcessCurrentObjectController.CustomProcessSelectedItem event.

The ObjectView class that is the base class for the ListView class, has one more descendant - the DetailView class. This class is used to display an individual object.

View Example: XAF - How to show filter dialog before a List View

Inheritance

See Also