ComponentOne DataGrid for WPF and Silverlight
Compute Method (DataGridAggregateCount)

C1.WPF.DataGrid.Summaries Namespace > DataGridAggregateCount 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.
Computes the amount of elements in the rows collection.
Syntax
'Declaration
 
Public Overrides Function Compute( _
   ByVal rows As DataGridRowCollection, _
   ByVal column As DataGridColumn, _
   ByVal recursive As System.Boolean _
) As System.Object
public override System.object Compute( 
   DataGridRowCollection rows,
   DataGridColumn column,
   System.bool recursive
)

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

Reference

DataGridAggregateCount Class
DataGridAggregateCount Members