ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Summaries Namespace / DataGridAggregateDistinct Class / Compute Method
The rows collection to which the aggregate function is applied.
The column to which the aggregate function is applied.
if set to true the function must be applied to sub groups recursively.

In This Topic
    Compute Method (DataGridAggregateDistinct)
    In This Topic
    Computes the amount of distinct values in the rows collection corresponding to the specified column.
    Syntax
    'Declaration
     
    
    Public Overrides Function Compute( _
       ByVal rows As DataGridRowCollection, _
       ByVal column As DataGridColumn, _
       ByVal recursive As Boolean _
    ) As Object

    Parameters

    rows
    The rows collection to which the aggregate function is applied.
    column
    The column to which the aggregate function is applied.
    recursive
    if set to true the function must be applied to sub groups recursively.
    See Also