Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyCollectionSource(IObjectSpace, Type, Object, IMemberInfo) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

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

#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, whose collection property the created PropertyCollectionSource will represent.

masterObject Object

An object, whose collection property the created PropertyCollectionSource will represent.

memberInfo IMemberInfo

An IMemberInfo object that contains metadata information on the collection property the created PropertyCollectionSource will represent.

#Remarks

XAF automatically creates a PropertyCollectionSource when it creates a nested List View which displays a collection property. So, generally, you do not need to manually instantiate a PropertyCollectionSource.

See Also