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

Creates a new instance of the CreateCustomPropertyCollectionSourceEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public CreateCustomPropertyCollectionSourceEventArgs(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewID,
    CollectionSourceMode mode
)
Public Sub New(
    objectSpace As IObjectSpace,
    masterObjectType As Type,
    masterObject As Object,
    memberInfo As IMemberInfo,
    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 CreateCustomPropertyCollectionSourceEventArgs.ObjectSpace property.

Type masterObjectType

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

Object masterObject

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

IMemberInfo memberInfo

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.

String listViewID

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.

CollectionSourceMode mode

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