Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

For internal use.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

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

#Parameters

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.

#Returns

Type Description
ListView

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

See Also