The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

For internal use.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public ListView CreateListView(
    IModelListView modelListView,
    CollectionSourceBase collectionSource,
    bool isRoot,
    ListEditor listEditor
)
Public Function CreateListView(
    modelListView As IModelListView,
    collectionSource As CollectionSourceBase,
    isRoot As Boolean,
    listEditor As ListEditor
) As ListView

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