Version

SummaryCellExporting Event

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

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

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
ReportCell Returns the Infragistics.Documents.Reports.Report.Grid.IGridCell into which the contents of the summary value will be exported.
Summary Returns the Infragistics.Win.UltraWinGrid.SummaryValue being exported.
SummaryLevel Returns the level of the Summary. Summaries are exporting into multiple rows (levels). The summary level indicates on which level this summary is displayed.
Remarks

SummaryCellExportingEventArgs.Summary returns the Infragistics.Win.UltraWinGrid.SummaryValue being exported.

SummaryCellExportingEventArgs.SummaryLevel returns the level of the Summary. Summaries are exporting into multiple rows (levels). The summary level indicates on which level this summary is displayed.

SummaryCellExportingEventArgs.ReportCell returns the Infragistics.Documents.Reports.Report.Grid.IGridCell into which the contents of the summary value will be exported.

Use the System.ComponentModel.CancelEventArgs.Cancel argument to cancel the exporting of a summary cell.

Using these event arguments, it is possible to override the exporting of a summary cell and provide a custom export. Typically, this would be done by setting Cancel to True, and then adding content to the ReportCell.

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