Skip to main content

ColorSchemeEntry.DataSource Property

Gets or sets a data source containing dimensions and measures to be colored.

Namespace: DevExpress.DashboardCommon

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

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


public IDashboardDataSource DataSource { get; set; }

Property Value

Type Default Description
IDashboardDataSource null

A class implementing IDashboardDataSource interface that specifies the data source containing dimensions and measures to be colored.


To specify the dimension values/measures to be colored, use the ColorSchemeEntry.DimensionKeys and ColorSchemeEntry.MeasureKey properties, respectively.


Specify the ColorSchemeEntry.DataMember property for the DashboardSqlDataSource and DashboardEFDataSource data sources.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also