Skip to main content
A newer version of this page is available. .

XafApplication.CreatePropertyCollectionSource(IObjectSpace, Type, Object, IMemberInfo, String) Method

Creates a Collection Source for a nested List View that displays a collection property.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public PropertyCollectionSource CreatePropertyCollectionSource(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewId
)

Parameters

Name Type Description
objectSpace IObjectSpace

An IObjectSpace object representing the Object Space used to retrieve the object for the created Collection Source.

masterObjectType Type

The type of the object whose collection property is about to be displayed.

masterObject Object

An object whose collection property is about to be displayed.

memberInfo IMemberInfo

An IMemberInfo object that defines the collection property to be displayed.

listViewId String

A string representing an identifier of the List View for which a Collection Source is created.

Returns

Type Description
PropertyCollectionSource

A PropertyCollectionSource object representing a Collection Source for a nested List View.

Remarks

The created Collection Source will operate using the XafApplication.DefaultCollectionSourceMode.

See Also