Skip to main content
A newer version of this page is available. .

DataItem Class

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

Namespace: DevExpress.DashboardCommon

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

Declaration

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

The following members return DataItem objects:

Remarks

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.

DataItem serves as the base class for the following descendants:

Inheritance

See Also