Serves as the base class for data items - measures and dimensions.
public abstract class DataItem : IDataItemRepositoryProvider, ISupportInitialize, IEditNameProvider, IFormatOwnerContext
Public MustInherit Class DataItem Implements IDataItemRepositoryProvider, ISupportInitialize, IEditNameProvider, IFormatOwnerContext
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.
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:
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataItem class.
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.