XafApplication.CreateCustomPropertyCollectionSource Event

Occurs when creating a Collection Source for a nested List View that displays a collection property.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public event EventHandler<CreateCustomPropertyCollectionSourceEventArgs> CreateCustomPropertyCollectionSource
Public Event CreateCustomPropertyCollectionSource As EventHandler(Of CreateCustomPropertyCollectionSourceEventArgs)

Event Data

The CreateCustomPropertyCollectionSource event handler receives an argument of the CreateCustomPropertyCollectionSourceEventArgs type.

Remarks

This event is raised as a result of calling the XafApplication.CreatePropertyCollectionSource method. Handle this event to create a descendant of the PropertyCollectionSource class, if you need to create a custom behavior of a List View's Collection Source. Assign the custom Collection Source to the handler's PropertyCollectionSource property.

To create a custom Collection Source for a root List View, handle the XafApplication.CreateCustomCollectionSource event.

See Also