corelibraries-devexpress-dot-xtrapivotgrid-ca5e8ec0.md
The base class of the Data Binding API. Specifies the source data for the Pivot Grid fields in Optimized, Server, and OLAP modes.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
public abstract class DataBindingBase :
INotifyPropertyChanged,
IDesignerContextProvider
Public MustInherit Class DataBindingBase
Implements INotifyPropertyChanged,
IDesignerContextProvider
The following members return DataBindingBase objects:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | CalculationBindingBase.Source |
| PivotGridFieldBase.DataBinding | |
| WindowExpressionBindingBase.Source | |
| .NET Reporting Tools | XRPivotGridField.DataBinding |
Pivot Grid uses the Binding API to bind Pivot Grid fields to data. A data binding source can be a column in the data source or a calculated expression.
The following types of bindings are available:
Column Binding Allows you to bind a Pivot Grid field to a data column in the data source. The Pivot Grid field obtains its values from a field in the data source.Expression BindingAllows you to bind a Pivot Grid field to an expression and display the calculated result. The expression can be a formula or an aggregate function.Calculation BindingAllows you to bind a Pivot Grid field to a window calculation and display aggregated values in the window.
Each specified binding object is a DataBindingBase descendant. This object is assigned to the Pivot Grid field’s DataBinding property.
Refer to the following topic for more information about binding concepts and usage examples: Data Binding API.
The following table illustrates Pivot Grid data processing modes that support the Binding API:
| Legacy and Legacy Optimized | Optimized | Server mode | OLAP | |
|---|---|---|---|---|
| Column Binding | ||||
| Expression Binding | ||||
| Calculation Binding |
Refer to the following article for more information about data processing modes: Pivot Grid Data Processing Modes.
Show 39 items
Object DataBindingBase CalculationBindingBase
DirectedCalculationBindingBase
See Also