Skip to main content
.NET 6.0+

XafApplication.CreateListView(IModelListView, CollectionSourceBase, Boolean, ListEditor) Method

For internal use.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public ListView CreateListView(
    IModelListView modelListView,
    CollectionSourceBase collectionSource,
    bool isRoot,
    ListEditor listEditor


Name Type Description
modelListView IModelListView

An IModelListView object that represents the Application Model node that serves as an information source for creating a new List View.

collectionSource CollectionSourceBase

A CollectionSourceBase object that represents the storage for the object to be displayed by the new List View. This object is assigned to the ListView.CollectionSource property.

isRoot Boolean

true, if the created List View is independent and owns the Object Space assigned to the View.ObjectSpace property; false, if the created List View is nested to another root View that owns the Object Space. This value is assigned to the View.IsRoot property.

listEditor ListEditor

A ListEditor to be used in the created List View.


Type Description

A ListView object used to display the collection of objects specified by the collectionSource parameter.

See Also