CreateCustomCollectionSourceEventArgs(IObjectSpace, Type, String, CollectionSourceMode) Constructor

Creates a new instance of the CreateCustomCollectionSourceEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public CreateCustomCollectionSourceEventArgs(
    IObjectSpace objectSpace,
    Type objectType,
    string listViewID,
    CollectionSourceMode mode
)
Public Sub New(
    objectSpace As IObjectSpace,
    objectType As Type,
    listViewID As String,
    mode As CollectionSourceMode
)

Parameters

Type Name Description
IObjectSpace objectSpace

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.

Type objectType

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.

String listViewID

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.

CollectionSourceMode mode

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