Skip to main content
.NET Framework 4.6.2+

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

CreateCustomCollectionSourceEventArgs(IObjectSpace, Type, String, CollectionSourceMode) Constructor

In This Article

Creates a new instance of the CreateCustomCollectionSourceEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public CreateCustomCollectionSourceEventArgs(
    IObjectSpace objectSpace,
    Type objectType,
    string listViewID,
    CollectionSourceMode mode
)

#Parameters

Name Type Description
objectSpace IObjectSpace

An IObjectSpace object specifying the Object Space to be used by the custom Collection Source. This parameter value is assigned to the CreateCustomCollectionSourceEventArgs.ObjectSpace property.

objectType Type

The type of objects that will be retrieved from the database into the custom Collection Source. This parameter value is assigned to the CreateCustomCollectionSourceEventArgs.ObjectType property.

listViewID String

A string containing the identifier of the List View for which a custom Collection Source will be created. This parameter value is assigned to the CreateCustomCollectionSourceEventArgs.ListViewID property.

mode CollectionSourceMode

A CollectionSourceMode enumeration value specifying the mode of operation for the Collection Source. This parameter value is assigned to the CreateCustomCollectionSourceEventArgs.Mode property of the custom Collection Source.

See Also