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

ListViewCreatingEventArgs(String, CollectionSourceBase, Boolean) Constructor

Initializes a new instance of the ListViewCreatingEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.1.dll


public ListViewCreatingEventArgs(
    string viewID,
    CollectionSourceBase collectionSource,
    bool isRoot


Name Type Description
viewID String

A string value that represents the ID of the List View to be created.

collectionSource CollectionSourceBase

A CollectionSourceBase object that represents the collection source for the new List View.

isRoot Boolean

true if the new List View is root; otherwise, false.


Since instances of the ListViewCreatingEventArgs class are automatically created and passed to handlers of the XafApplication.ListViewCreating event, you do not need to call this constructor from your applications.

See Also