ComponentOne FlexGrid for UWP
GetAggregate Method

C1.UWP.FlexGrid Assembly > C1.Xaml.FlexGrid Namespace > C1FlexGrid Class : GetAggregate Method
Aggregate value that specifies the type of aggregate to calculate.
CellRange object that contains the values to be aggregated.
Calculates aggregate statistics for a cell range.
Syntax
'Declaration
 
Public Overridable Function GetAggregate( _
   ByVal aggregate As Aggregate, _
   ByVal rng As CellRange _
) As System.Decimal
public virtual System.decimal GetAggregate( 
   Aggregate aggregate,
   CellRange rng
)

Parameters

aggregate
Aggregate value that specifies the type of aggregate to calculate.
rng
CellRange object that contains the values to be aggregated.

Return Value

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.
See Also

Reference

C1FlexGrid Class
C1FlexGrid Members