TcxSummaryKind Enum
Enumerates predefined summary calculation algorithms.
Declaration
TcxSummaryKind = (
skNone,
skSum,
skMin,
skMax,
skCount,
skAverage
);
Members
Name | Description |
---|---|
skNone
|
Default. The summary item does not calculate a summary for the source data item. This option is useful if you need to define a custom summary value within the parent data controller‘s Summary.OnAfterSummary event handler. |
skSum
|
Sums all record values in a group (for group summaries) or the source data item (for footer summaries). |
skMin
|
Identifies the lowest value among all record values in a group (for group summaries) or the source data item (for footer summaries). |
skMax
|
Identifies the highest value among all record values in a group (for group summaries) or the source data item (for footer summaries). |
skCount
|
Returns the number of records in a group (for group summaries) or the total number of records (for footer summaries). |
skAverage
|
Calculates the average of all record values in a group (for group summaries) or all record values in the source data item. |
Remarks
TcxSummaryKind
values allow you to switch between predefined summary calculation algorithms. Depending on the summary type, the selected algorithm processes records in the current group or all records in the source data item.
Direct TcxSummaryKind Type References
The following public API members reference the TcxSummaryKind
type:
- TcxCustomDataSummaryItem.Kind
- Specifies the summary calculation algorithm.
- TcxSummaryKinds