Skip to main content

DifferenceBinding(DataBindingBase, CalculationPartitioningCriteria, CalculationDirection, DifferenceTarget, DifferenceType) Constructor

Initializes a new instance of the DifferenceBinding class with specified settings.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v22.1.dll

Declaration

public DifferenceBinding(
    DataBindingBase source,
    CalculationPartitioningCriteria mode,
    CalculationDirection direction,
    DifferenceTarget target,
    DifferenceType type
)

Parameters

Name Type Description
source DataBindingBase

A DataBindingBase descendant that supplies the source data.

mode CalculationPartitioningCriteria

A CalculationPartitioningCriteria enumeration member that specifies a window in a window calculation.

direction CalculationDirection

A CalculationDirection enumeration member that specifies the horizontal or vertical direction in which the values are retrieved.

target DifferenceTarget

A DifferenceTarget enumeration member that specifies the location of a value in a window.

type DifferenceType

A DifferenceType enumeration member that specifies the absolute or percentage difference to calculate.

See Also