IDashboardDataSource.Data Property

Gets or sets the data object containing data source data.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

object Data { get; set; }
Property Data As Object

Property Value

Type Description
Object

An object containing data for the data source.

The following table describes how this property is implemented in IDashboardDataSource descendants.

Class Description
DashboardObjectDataSource If you assign a data object to the DashboardObjectDataSource.DataSource property, the IDashboardDataSource.Data property returns that object.
ObjectDataSource If you bind a Dashboard control to the ObjectDataSource and handle the control's DataLoading event to assign data object to the e.Data property, the IDashboardDataSource.Data property returns the assigned data object. That is, if the data is a generic list of objects, the IDashboardDataSource.Data property returns the same list.
DashboardExcelDataSource, DashboardEFDataSource, DashboardSqlDataSource The IDashboardDataSource.Data property is read-only and returns a reference to the corresponding data source type.
DashboardExtractDataSource, DashboardOlapDataSource The IDashboardDataSource.Data property is read-only and returns null.

See Also