Version

CellExported Event

Occurs after a cell is exported to Excel.
Syntax
'Declaration
 
Public Event CellExported As EventHandler(Of CellExportedEventArgs)
public event EventHandler<CellExportedEventArgs> CellExported
Event Data

The event handler receives an argument of type CellExportedEventArgs containing data related to this event. The following CellExportedEventArgs 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.
Field Returns the field containing the cell.
Record Returns the record containing the cell.
Value Returns the exported value of the cell.
Workbook (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Exporting workbook.
Remarks

The Field argument returns a reference to the associated field.

The Record argument returns a reference to the record containing the cell.

The Value argument returns the value of the cell.

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

Use this event to apply any additional formatting to Excel cell after the cell has been exported.

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