Back to Devexpress

DataItem Class

dashboard-devexpress-dot-dashboardcommon-32939666.md

latest3.2 KB
Original Source

DataItem Class

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

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public abstract class DataItem :
    IDataItemRepositoryProvider,
    ISupportInitialize,
    IEditNameProvider,
    IFormatOwnerContext
vb
Public MustInherit Class DataItem
    Implements 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

Object DataItem Dimension

Measure

See Also

DataItem Members

Bind Dashboard Items to Data in the Designer

DevExpress.DashboardCommon Namespace