Skip to main content

DataSource(String, Object, String) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

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

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


public DataSource(
    string name,
    object data,
    string dataMember


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.

dataMember String

A String that is a specific list in a data source.


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

See Also