Back to Devexpress

ExpressionBindingBase Class

corelibraries-devexpress-dot-pivotgrid-dot-databinding-5096d0c5.md

latest3.4 KB
Original Source

ExpressionBindingBase Class

The base class that specifies the Pivot Grid field’s calculations based on string expressions.

Namespace : DevExpress.PivotGrid.DataBinding

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public class ExpressionBindingBase :
    DataBindingBase,
    IExpressionBinding
vb
Public Class ExpressionBindingBase
    Inherits DataBindingBase
    Implements IExpressionBinding

Remarks

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.

The following table illustrates the Binding API that can be used to create expression bindings in Optimized and Server modes:

PlatformClass
WinFormsExpressionDataBinding
WPFExpressionDataBinding
ASP.NET Web FormsExpressionDataBinding

Inheritance

Object DataBindingBase ExpressionBindingBase ExpressionDataBinding

ExpressionDataBinding

ExpressionDataBinding

See Also

ExpressionBindingBase Members

Optimized Calculation Engine

Data Binding API

DevExpress.PivotGrid.DataBinding Namespace