A SummaryType enumeration value that specifies the aggregate function type.
This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
Use the Type property to specify which aggregate function should be used to calculate the summary value. There are five predefined aggregate functions for grid data summaries: Sum, Min, Max, Average and Count. To implement your own aggregate function, set the Type property to SummaryType.Custom and handle the GridControl.CalculateCustomSummary event.
This example shows how to calculate group and total summaries for grid columns using predefined aggregate functions or a custom rule.
The following data summaries are created.
Group summary to display the maximum value in a Total column for each group of records.
Total summary to calculate the sum of values by the whole Total column.
Custom total summary to count the number of rows whose value in the Shipped column is false.