The requested page is not available for the requested platform. You are viewing the content for Default platform.

Dashboard.DataSources Property

Gets the collection of dashboard data sources.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

public DataSourceCollection DataSources { get; }
Public ReadOnly Property DataSources As DataSourceCollection

Property Value

Type Description
DataSourceCollection

A collection of objects implementing the IDashboardDataSource interface.

Remarks

The DataSources property provides access to the collection of the dashboard data sources. You can add the following types of data sources to the DataSources collection.

All data-aware dashboard items expose the DataDashboardItem.DataSource property that allows you to specify the required data source for the dashboard item. If you are using the DashboardSqlDataSource and DashboardEFDataSource, set the DataDashboardItem.DataMember property to specify a required data member in a dashboard data source. For instance, for a DashboardSqlDataSource data source, the data member is the name of the query (the SqlQuery.Name property).

When a data source is added or removed from the DataSources collection, the Dashboard.DataSourceCollectionChanged event is fired.

See Also