Skip to main content
.NET Framework 4.5.2+

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

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

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.

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