ListView(IModelListView, CollectionSourceBase, XafApplication, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

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
)

Parameters

Type Name Description
IModelListView modelListView

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.

CollectionSourceBase collectionSource

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

XafApplication application

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

Boolean isRoot

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