.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ListView(IModelListView, CollectionSourceBase, XafApplication, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public ListView(
    IModelListView modelListView,
    CollectionSourceBase collectionSource,
    XafApplication application,
    bool isRoot
Public Sub New(
    modelListView As IModelListView,
    collectionSource As CollectionSourceBase,
    application As XafApplication,
    isRoot As Boolean


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.


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