Skip to main content
.NET 8.0+

ListViewCreatingEventArgs Class

Represents arguments passed to the XafApplication.ListViewCreating event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public class ListViewCreatingEventArgs :
    ViewCreatingEventArgs

Remarks

The ListViewCreatingEventArgs class declares properties specific to the XafApplication.ListViewCreating event designed to create custom List Views. Use the ListViewCreatingEventArgs.CollectionSource property value as a collection source for the new List View. Assign the created List View to the ListViewCreatingEventArgs.View property.

This class is inherited from the ViewCreatingEventArgs class. So, you can use the ViewCreatingEventArgs.ObjectSpace, ViewCreatingEventArgs.ViewID and ViewCreatingEventArgs.IsRoot property values when creating a List View.

Inheritance

Object
EventArgs
ViewCreatingEventArgs
ListViewCreatingEventArgs
See Also