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
ExportValue (Inherited from Infragistics.Win.UltraWinGrid.WordWriter.TableCellExportingEventArgs)Returns or sets the value that will be exported to the report.
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.
SummaryValue Returns the Infragistics.Win.UltraWinGrid.SummaryValue being exported.
WordTableCellSettings (Inherited from Infragistics.Win.UltraWinGrid.WordWriter.TableCellExportingEventArgs)Returns or sets properties of the table cell in the Word document such as BackColor, Font, and VerticalAlignment;
Remarks

SummaryCellExportingEventArgs.SummaryValue 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.

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