The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

public PropertyCollectionSource CreatePropertyCollectionSource(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewId,
    bool isServerMode,
    CollectionSourceMode mode
)
Public Function CreatePropertyCollectionSource(
    objectSpace As IObjectSpace,
    masterObjectType As Type,
    masterObject As Object,
    memberInfo As IMemberInfo,
    listViewId As String,
    isServerMode As Boolean,
    mode As CollectionSourceMode
) As PropertyCollectionSource
public PropertyCollectionSource CreatePropertyCollectionSource(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewId,
    bool isServerMode,
    CollectionSourceMode mode
)
Public Function CreatePropertyCollectionSource(
    objectSpace As IObjectSpace,
    masterObjectType As Type,
    masterObject As Object,
    memberInfo As IMemberInfo,
    listViewId As String,
    isServerMode As Boolean,
    mode As CollectionSourceMode
) As PropertyCollectionSource
public PropertyCollectionSource CreatePropertyCollectionSource(
    IObjectSpace objectSpace,
    Type masterObjectType,
    object masterObject,
    IMemberInfo memberInfo,
    string listViewId,
    bool isServerMode,
    CollectionSourceMode mode
)
Public Function CreatePropertyCollectionSource(
    objectSpace As IObjectSpace,
    masterObjectType As Type,
    masterObject As Object,
    memberInfo As IMemberInfo,
    listViewId As String,
    isServerMode As Boolean,
    mode As CollectionSourceMode
) As PropertyCollectionSource

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.

isServerMode 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 CollectionSourceBase.Mode property of the created Collection Source.

mode CollectionSourceMode

A CollectionSourceMode enumeration value specifying the Collection Source's mode of operation. This value is used to initialize the CollectionSourceBase.Mode property of the created Collection Source.

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.

isServerMode 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 CollectionSourceBase.Mode property of the created Collection Source.

mode CollectionSourceMode

A CollectionSourceMode enumeration value specifying the Collection Source's mode of operation. This value is used to initialize the CollectionSourceBase.Mode property of the created Collection Source.

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.

isServerMode 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 CollectionSourceBase.Mode property of the created Collection Source.

mode CollectionSourceMode

A CollectionSourceMode enumeration value specifying the Collection Source's mode of operation. This value is used to initialize the CollectionSourceBase.Mode property of the created Collection Source.

Returns

Type Description
PropertyCollectionSource

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

Returns

Type Description
PropertyCollectionSource

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

Returns

Type Description
PropertyCollectionSource

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

See Also