Skip to main content
.NET 6.0+

ListView(IModelListView, CollectionSourceBase, XafApplication, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.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