Skip to main content

WindowExpressionBinding Class

Defines the calculation that uses a custom string expression with window functions.

Namespace: DevExpress.Web.ASPxPivotGrid

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

Declaration

public class WindowExpressionBinding :
    WindowExpressionBindingBase

Remarks

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

View Example

  <dx:PivotGridField ID="fieldWindowExpression" Area="DataArea" AreaIndex="7"  Name="fieldWindowExpression" Caption="WindowExpression" >
     <DataBindingSerializable>
         <dx:WindowExpressionBinding Expression="Total(Sum([Extended Price]))" PartitioningCriteria="ColumnValueAndRowParentValue">
             </dx:WindowExpressionBinding>
     </DataBindingSerializable>
     <CellFormat FormatString= "c2" FormatType= "Numeric" ></CellFormat>
 </dx:PivotGridField>

For more information, see Data Binding API.

Implements

DevExpress.XtraPivotGrid.IDesignerContextProvider
DevExpress.PivotGrid.DataBinding.IExpressionBinding
See Also