Skip to main content

DashboardObjectDataSource(String, Object) Constructor

Initializes a new instance of the DashboardObjectDataSource class with a specidied data source name and data.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public DashboardObjectDataSource(
    string name,
    object data


Name Type Description
name String

A String value that specifies the data source name.

data Object

An object containing data for the data source.



You cannot use an overload with the data parameter for the Web Dashboard and pass data directly to the control. Use the Dashboard.DataLoading event to provide data for the DashboardObjectDataSource.

See Also