ComponentOne FlexGrid for WinForms
Aggregate(AggregateEnum,CellRange,AggregateFlags) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > Aggregate Method : Aggregate(AggregateEnum,CellRange,AggregateFlags) Method
AggregateEnum value that specifies the type of aggregate to calculate.
CellRange object that contains the values to be aggregated.
AggregateFlags value that specifies aggregation options.
Calculates aggregate statistics for a range.
Syntax
'Declaration
 
Public Overloads Function Aggregate( _
   ByVal aggType As AggregateEnum, _
   ByVal rg As CellRange, _
   ByVal flags As AggregateFlags _
) As Double

Parameters

aggType
AggregateEnum value that specifies the type of aggregate to calculate.
rg
CellRange object that contains the values to be aggregated.
flags
AggregateFlags value that specifies aggregation options.

Return Value

A System.Double that represents the aggregate value.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List