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

ListView(IModelListView, CollectionSourceBase, XafApplication, Boolean) Constructor

Creates an instance of the ListView class with the specified settings.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public ListView(
    IModelListView modelListView,
    CollectionSourceBase collectionSource,
    XafApplication application,
    bool isRoot
)

#Parameters

Name Type Description
modelListView IModelListView

An IModelListView object that represents the Application Model node that stores the current List View settings. This object is assigned to the View.Model property.

collectionSource CollectionSourceBase

An object in the CollectionSourceBase class inheritance. This object is assigned to the ListView.CollectionSource property.

application XafApplication

An XafApplication object that provides methods and properties to manage the current application.

isRoot Boolean

true if the List View is root; otherwise,false.

#Remarks

This method is not designed to be used directly from your code. If you need to implement your own List View, use the XafApplication.CreateListView method.

See Also