PropertyCollectionSource(IObjectSpace, Type, Object, IMemberInfo, Boolean, CollectionSourceMode) 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,
bool isServerMode,
CollectionSourceMode mode
)
#Parameters
Name | Type | Description |
---|---|---|
object |
IObject |
An IObject |
master |
Type | The type of an object whose collection property the created Property |
master |
Object | An object, whose collection property the created Property |
member |
IMember |
An IMember |
is |
Boolean | true if a Property Collection Source is created in server mode. This value is considered when initializing the Collection |
mode | Collection |
A Collection |
#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.