DataDashboardItem Class
Serves as the base class for data-bound dashboard items.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v21.2.Core.dll
Declaration
public abstract class DataDashboardItem :
DashboardItem,
ISliceDataQueryProvider,
IDimensionAxes,
IMasterFilter,
IMasterFilterItem,
IDataItemRepositoryProvider,
IDataSourceSchemaProvider,
IDataItemContext,
IFormatOwnerContext,
IDataItemContainerContext,
IColorSchemeContext,
IFormatRulesContext,
IInteractivityOptionsProvider,
IDataSourceNameProvider
Remarks
Data-bound dashboard items are UI elements that can be supplied with data from the Dashboard data sources (the Dashboard.DataSources collection). The DataDashboardItem class provides basic functionality for all data-bound dashboard items.
Use the Dashboard.Items property to add the DataDashboardItem to the dashboard. To bind the current dashboard item to the required data source, use the DataDashboardItem.DataSource property. If you are using the DashboardSqlDataSource or DashboardEFDataSource to supply the dashboard with data, you need to specify the required data member using the DataDashboardItem.DataMember property.
For examples on how to create a data dashboard item, see the corresponding DataDashboardItem descendant’s description.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataDashboardItem class.
Note
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.