Skip to main content
.NET 6.0+

CreateCustomPropertyCollectionSourceEventArgs(IObjectSpace, Type, Object, IMemberInfo, String, CollectionSourceDataAccessMode, CollectionSourceMode) Constructor

Creates a new instance of the CreateCustomPropertyCollectionSourceEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public CreateCustomPropertyCollectionSourceEventArgs(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewID,
    CollectionSourceDataAccessMode dataAccessMode,
    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.

masterObjectType Type

The type of an object whose collection property the custom Collection Source will represent. This parameter value is assigned to the CreateCustomPropertyCollectionSourceEventArgs.MasterObjectType property.

masterObject Object

An object whose collection property the custom Collection Source will represent. This parameter value is assigned to the CreateCustomPropertyCollectionSourceEventArgs.MasterObject property.

memberInfo IMemberInfo

An IMemberInfo object suplying metadata information on the collection property that the custom Collection Source will represent. This parameter value is assigned to the CreateCustomPropertyCollectionSourceEventArgs.MemberInfo property.

listViewID String

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

dataAccessMode CollectionSourceDataAccessMode

A CollectionSourceDataAccessMode enumeration value that specifies the mode used to access the Collection Source’s CollectionSourceBase.Collection.

mode CollectionSourceMode

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

See Also