Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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