All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataSourceManager.GetDataSourceAssignables(XtraReport, Boolean) Method

A static method that returns controls or parameters with data sources that are stored in a report.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

public static IEnumerable<IDataSourceAssignable> GetDataSourceAssignables(
    XtraReport report,
    bool includeSubReports = false
)
Public Shared Function GetDataSourceAssignables(
    report As XtraReport,
    includeSubReports As Boolean = False
) As IEnumerable(Of IDataSourceAssignable)

Parameters

Name Type Description
report XtraReport

The report from which to return controls or parameters.

Optional Parameters

Name Type Default Description
includeSubReports Boolean

False

A flag that specifies whether to include controls or parameters from referenced reports in the returned values.

Returns

Type Description
IEnumerable<IDataSourceAssignable>

Controls or parameters stored in the report.

See Also