[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid.GetAggregate

GetAggregate Method

GetAggregate(Aggregate, CellRange)

Calculates aggregate statistics for a cell range.

Declaration
public virtual decimal GetAggregate(Aggregate aggregate, CellRange rng)
Parameters
Type Name Description
Aggregate aggregate

Aggregate value that specifies the type of aggregate to calculate.

CellRange rng

CellRange object that contains the values to be aggregated.

Returns
Type Description
decimal

A decimal value that represents the aggregate.

Remarks

Cells in invisible rows and columns are included in the aggregate calculations; cells in group rows are not.