Skip to main content
.NET 6.0+

ListView(CollectionSourceBase, ListEditor) Constructor

Creates an instance of the ListView class with the specified collection source and List Editor.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ListView(
    CollectionSourceBase collectionSource,
    ListEditor listEditor
)

Parameters

Name Type Description
collectionSource CollectionSourceBase

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

listEditor ListEditor

An object in the ListEditor class inheritance. This object is assigned to the ListView.Editor property.

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