GridControl.TotalSummary Property
Provides access to a collection of total summary items.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v21.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
GridSummaryItemCollection | A GridSummaryItemCollection object that contains total summary items. |
Remarks
Total summaries are displayed within the Summary Panel, provided that the DataViewBase.ShowTotalSummary property is set to true. Total summaries are values of aggregate functions calculated over all data rows displayed within the grid.
Group summaries can be accessed via the GridControl.GroupSummary property.
Note
In Server Mode, total summaries cannot be calculated for unbound columns whose values are calculated via events. Only columns with the specified unbound expressions support total summaries.
To learn more, see Total Summary and Customizing Summaries.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the TotalSummary property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.