Version

SummaryRowExporting Event

Occurs before a summary row is exported to Excel.
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
AssociatedRecord Gets the record associated with the summaries (read-only)
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
CurrentColumnIndex (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Zero-based index of current exporting column in excel worksheet..
CurrentOutlineLevel (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Current outline level used for grouping.
CurrentRowIndex (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Zero-based index of current exporting row in excel worksheet.
CurrentWorksheet (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Current exporting worksheet.
FormatSettings (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Gets or sets the settings that should be applied to exported label. Settings specified on individual labels take precedence.
Summaries Returns the collection of summary values that are being exported.
SummaryDescription The description of the summaries that will be displayed on the row above the summaries
SummaryDescriptionFormat Gets or sets the settings that should be applied to the summary description.
SummaryLevel Returns the 0-based index of the current summary record.
Workbook (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportCancelEventArgs)Exporting workbook.
Remarks

The Summaries argument returns a reference to summary values.

The SummaryLevel argument returns a current summary level.

Additionaly this event has Cancel, Workbook, CurrentWorksheet, CurrentRowIndex, CurrentColumnIndex, CurrentOutlineLevel arguments inherited from ExcelExportCancelEventArgs.

This event is fired before Excel row with summary values for specific level is processed. Use the Cancel argument to cancel row exporting. If summaries span multiple Excel rows, this event is fired only for first row of summaries.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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