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<TDataSourceAssignable>(XtraReport, Boolean) Method

A static method that returns controls and parameters of the specified type that have data sources and are stored in a report.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

public static IEnumerable<TDataSourceAssignable> GetDataSourceAssignables<TDataSourceAssignable>(
    XtraReport report,
    bool includeSubReports = false
)
    where TDataSourceAssignable : class, IDataSourceAssignable
Public Shared Function GetDataSourceAssignables(Of TDataSourceAssignable As {Class, IDataSourceAssignable})(
    report As XtraReport,
    includeSubReports As Boolean = False
) As IEnumerable(Of TDataSourceAssignable)

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.

Type Parameters

Name Description
TDataSourceAssignable

Type of controls or parameters to return from the report.

Returns

Type Description
IEnumerable<TDataSourceAssignable>

Controls or parameters that are stored in the report.

See Also