Version

RecordExported Event

Occurs after a record is exported to Excel.
Syntax
'Declaration
 
Public Event RecordExported As EventHandler(Of RecordExportedEventArgs)
public event EventHandler<RecordExportedEventArgs> RecordExported
Event Data

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

PropertyDescription
CurrentColumnIndex (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Zero-based index of current exporting column in excel worksheet.
CurrentOutlineLevel (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Current outline level used for grouping.
CurrentRowIndex (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Zero-based index of current exporting row in excel worksheet.
CurrentWorksheet (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Current exporting worksheet.
Record Returns the record being exported.
Workbook (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Exporting workbook.
Remarks

The Record argument returns a reference to the record being exported.

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

This event is fired after the Excel row is processed. Use it to apply any additional formatting to Excel row. If the records span multiple rows, this event is fired only for the last row..

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