Enables you to specify which summaries should be calculated and displayed.
public event CustomSummaryExistEventHandler CustomSummaryExists
Public Event CustomSummaryExists As CustomSummaryExistEventHandler
The event is raised before a particular summary value is calculated, allowing cancellation of the calculation. To cancel a summary value calculation, set the event parameter's CustomSummaryExistEventArgs.Exists parameter to false.
In this case, the CustomSummaryExistEventArgs.IsTotalSummary parameter returns true. The processed summary item is returned by the CustomSummaryExistEventArgs.Item property. If required, use the summary item's properties to identify the column where it is displayed.
In this case, the CustomSummaryExistEventArgs.IsGroupSummary parameter returns true. The CustomSummaryExistEventArgs.GroupRowHandle property identifies the group for which the summary value is about to be calculated. The processed group summary item is returned by the CustomSummaryExistEventArgs.Item property.