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.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public DashboardObjectDataSource(
    string name,
    object data
)

Parameters

Name Type Description
name String

A String value that specifies the data source name.

data Object

An object containing data for the data source.

Remarks

Note

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