Back to Devexpress

WindowExpressionBinding Class

aspnet-devexpress-dot-web-dot-aspxpivotgrid-181b0c41.md

latest2.7 KB
Original Source

WindowExpressionBinding Class

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

Declaration

csharp
public class WindowExpressionBinding :
    WindowExpressionBindingBase
vb
Public Class WindowExpressionBinding
    Inherits WindowExpressionBindingBase

Remarks

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

View Example

xml
<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

INotifyPropertyChanged

DevExpress.XtraPivotGrid.IDesignerContextProvider

DevExpress.PivotGrid.DataBinding.IExpressionBinding

Inheritance

Object DataBindingBase CalculationBindingBase DirectedCalculationBindingBase WindowExpressionBindingBase WindowExpressionBinding

See Also

WindowExpressionBinding Members

Bind Pivot Grid Fields to Window Calculations

DevExpress.Web.ASPxPivotGrid Namespace