FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.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.

In This Topic
    GetAggregate Method
    In This Topic
    Calculates aggregate statistics for a cell range.
    Syntax
    'Declaration
     
    Public Overridable Function GetAggregate( _
       ByVal aggregate As Aggregate, _
       ByVal rng As CellRange _
    ) As Decimal
    public virtual 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