aspnet-devexpress-dot-web-dot-aspxpivotgrid-181b0c41.md
Defines the calculation that uses a custom string expression with window functions.
Namespace : DevExpress.Web.ASPxPivotGrid
Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll
NuGet Package : DevExpress.Web
public class WindowExpressionBinding :
WindowExpressionBindingBase
Public Class WindowExpressionBinding
Inherits WindowExpressionBindingBase
The following code snippet illustrates how to bind a PivotGrid field to the result of the Window Expression Calculation.
<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.
DevExpress.XtraPivotGrid.IDesignerContextProvider
DevExpress.PivotGrid.DataBinding.IExpressionBinding
Object DataBindingBase CalculationBindingBase DirectedCalculationBindingBase WindowExpressionBindingBase WindowExpressionBinding
See Also
WindowExpressionBinding Members