Version

SummaryRowExporting Event

Occurs before summary row is exported to a report.
Syntax
'Declaration
 
Public Event SummaryRowExporting As EventHandler(Of SummaryRowExportingEventArgs)
public event EventHandler<SummaryRowExportingEventArgs> SummaryRowExporting
Event Data

The event handler receives an argument of type SummaryRowExportingEventArgs containing data related to this event. The following SummaryRowExportingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
GridSummaryRow The UltraGridSummaryRow representing the summaries to be exported.
Remarks

SummaryRowExportingEventArgs.GridSummaryRow returns the Infragistics.Win.UltraWinGrid.UltraGridSummaryRow being exported.

This event is fired before a summary row is exported to a report. A summary row includes the SummaryFooterCaption and all summary values. Use the Cancel argument to cancel row exporting.

Using these event arguments, it is possible to override the exporting of a summary row and provide a custom export. Typically, this would be done by setting Cancel to True, adding a row to the reportTable, and then populating that row with the desired contents.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also