GridControl.CustomSummary Event
In This Article
Enables you to calculate summary values manually.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Event Data
The CustomSummary event's handler receives an argument of the CustomSummaryEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Field |
Gets the processed field value. |
Group |
Gets the nested level of the group whose summary value is being calculated. |
Group |
Gets the handle of a group row whose child data rows are involved in summary calculation. |
Is |
Gets whether a group summary value is being calculated. |
Is |
Gets whether a total summary value is being calculated. |
Item | Gets a summary item whose value is being calculated. |
Row | |
Row |
Gets the processed row's handle. |
Summary |
Gets a value indicating the current calculation stage. |
Total |
Gets or sets the total or group summary value. |
Total |
Gets or sets whether the Calculation stage of the custom summary calculation process should be skipped. |
#Remarks
total summaries and group summaries provide five predefined aggregate functions (COUNT, MAX, MIN, SUM and AVG). If you want to calculate summaries using custom rules, handle the CustomSummary event. This event enables you to implement custom aggregate functions or calculate summary values, using a custom algorithm.
To learn more, see Custom Summary.
See Also