CustomSummaryExistEventArgs Class
Provides data for the GridView.CustomSummaryExists event.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v18.1.dll
Declaration
Remarks
The GridView.CustomSummaryExists event allows you to prevent certain summaries from being calculated and displayed. Thus, it is raised when a total summary is about to be calculated or when a group summary is about to be calculated for a particular group. Summary kind can be determined using the CustomSummaryExistEventArgs.IsTotalSummary and CustomSummaryExistEventArgs.IsGroupSummary properties of the event argument (a CustomSummaryExistEventArgs object). When processing a group summary, the group whose summary value is about to be calculated can be identified using the CustomSummaryExistEventArgs.GroupRowHandle property. To prevent summary value calculations, set the CustomSummaryExistEventArgs.Exists property to false.
Note: use the CustomSummaryExistEventArgs.Item property to access the summary item providing summary calculation settings.
CustomSummaryExistEventArgs objects are automatically created and passed to GridView.CustomSummaryExists event handlers.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomSummaryExistEventArgs class.
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.