Skip to main content
.NET 6.0+

LookupEditPropertyCollectionSource(IObjectSpace, Type, Object, IMemberInfo, DataSourcePropertyIsNullMode, String, CollectionSourceMode) Constructor

Creates and initializes an instance of the LookupEditPropertyCollectionSource class with the specified parameters.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public LookupEditPropertyCollectionSource(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberDescriptor,
    DataSourcePropertyIsNullMode dataSourcePropertyIsNullMode,
    string dataSourcePropertyIsNullCriteria,
    CollectionSourceMode collectionSourceMode
)

Parameters

Name Type Description
objectSpace IObjectSpace

An IObjectSpace object representing the Object Space used by the Collection Source to interact with the database.

masterObjectType Type

The type of an object which owns the property whose possible values the created Collection Source will represent.

masterObject Object

An object which owns the property whose possible values the created Collection Source

memberDescriptor IMemberInfo

An IMemberInfo object that contains metadata information on the property whose possible values the created Collection Source will represent.

dataSourcePropertyIsNullMode DataSourcePropertyIsNullMode

The DataSourcePropertyIsNullMode property’s value of the Application Model’s BOModel | <Class> | OwnMembers | <Member> node that corresponds to the property whose possible values the created Collection Source will represent.

dataSourcePropertyIsNullCriteria String

The DataSourcePropertyIsNullCriteria property’s value of the Application Model’s BOModel | <Class> | OwnMembers | <Member> node that corresponds to the property whose possible values the created Collection Source will represent.

collectionSourceMode CollectionSourceMode

A CollectionSource enumeration value specifying the created Collection Source’s mode of operation.

Remarks

XAF automatically creates a LookupEditPropertyCollectionSource when it creates a Lookup List View. So, generally, you do not need to manually instantiate a LookupEditPropertyCollectionSource.

See Also