Skip to main content

DataSource(String, Object) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

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

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


public DataSource(
    string name,
    object data


Name Type Description
name String

A String that specifies the name of the data source.

data Object

An object that contains data for the data source.


An object passed as the data parameter should implement the IEnumerable or IListSource interface.

See Also