Skip to main content

PercentOfTotalBindingBase Class

The base class that calculates a value as a percentage of all values in the window. PercentOfTotalBindingBase serves as a calculation binding of a Pivot Grid’s field in Optimized mode.

Namespace: DevExpress.PivotGrid.DataBinding

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public class PercentOfTotalBindingBase :
    CalculationBindingBase

Remarks

Pivot Grid uses the Binding API to bind Pivot Grid fields to data. A data binding source can be a column in the data source or a calculated expression.

The following types of bindings are available:

Column Binding
Allows you to bind a Pivot Grid field to a data column in the data source. The Pivot Grid field obtains its values from a field in the data source.
Expression Binding
Allows you to bind a Pivot Grid field to an expression and display the calculated result. The expression can be a formula or an aggregate function.
Calculation Binding
Allows you to bind a Pivot Grid field to a window calculation and display aggregated values in the window.

The following classes are used to create calculation bindings:

Platform Class
WinForms PercentOfTotalBinding
WPF PercentOfTotalBinding
ASP.NET Web Forms PercentOfTotalBinding

Examples

See Also