All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ExpressionDataBinding Class

Defines a calculation based on a string expression.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public class ExpressionDataBinding :
    ExpressionBindingBase
Public Class ExpressionDataBinding
    Inherits ExpressionBindingBase

Remarks

The following code snippet illustrates how to bind a PivotGrid field to the result of the Expression Calculation.

    <dx:PivotGridField ID="fieldExpressions" Area="DataArea" AreaIndex="5"  Name="fieldExpressions" Caption="Expressions" >
        <DataBindingSerializable>
            <dx:ExpressionDataBinding Expression="Min([Extended Price])" />
        </DataBindingSerializable>
    </dx:PivotGridField>
NOTE

The complete example is available in the GitHub repository: ASP.NET Web Forms Pivot Grid - How to Create Field Calculation Bindings.

For more information, see Data Binding API.

Implements

DevExpress.XtraPivotGrid.IDesignerContextProvider
DevExpress.PivotGrid.DataBinding.IExpressionBinding

Inheritance

See Also