DataItem Class

Serves as the base class for data items - measures and dimensions.

Namespace: DevExpress.DashboardCommon

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


public abstract class DataItem : IDataItemRepositoryProvider, ISupportInitialize, IEditNameProvider, INumericFormatContext

The DataItem class identifies a data binding. A data item is mapped to a particular data source member when creating the instance of the DataItem descendant and can be assigned to a dashboard item. As a result, this binds the dashboard item to the data member.

This class also provides format settings for date-time and numeric values accessed via the DataItem.DateTimeFormat and DataItem.NumericFormat properties.

The DataItem class derives the Measure and Dimension classes for binding to quantitative and non-quantitative data respectively. These classes allow you to enable data shaping and configure summary calculation, depending on the binding type.



See Also