XafApplication.CreatePropertyCollectionSource(IObjectSpace, Type, Object, IMemberInfo, String, Boolean, CollectionSourceMode) Method
Creates a Collection Source for a nested List View that displays a collection property.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public PropertyCollectionSource CreatePropertyCollectionSource(
IObjectSpace objectSpace,
Type masterObjectType,
object masterObject,
IMemberInfo memberInfo,
string listViewId,
bool isServerMode,
CollectionSourceMode mode
)
#Parameters
Name | Type | Description |
---|---|---|
object |
IObject |
An IObject |
master |
Type | The type of the object whose collection property is about to be displayed. |
master |
Object | An object whose collection property is about to be displayed. |
member |
IMember |
An IMember |
list |
String | A string representing an identifier of the List View for which a Collection Source is created. |
is |
Boolean | true, if all the data processing takes place on the database server side; false, if all the data processing takes place on the client side. This value is used to initialize the Collection |
mode | Collection |
A Collection |
#Returns
Type | Description |
---|---|
Property |
A Property |