TreeListView.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 TreeListCustomSummaryEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Field |
Gets the processed field value. |
Node | Gets the processed node. |
Summary |
Gets a summary item whose value is being calculated. |
Summary |
Gets a value indicating the calculation stage. |
Total |
Gets or sets the total summary value. |
#Remarks
Total summaries provides 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