Version

ExportEnded Event

Occurs after the export process has completed.
Syntax
'Declaration
 
Public Event ExportEnded As EventHandler(Of ExportEndedEventArgs)
public event EventHandler<ExportEndedEventArgs> ExportEnded
Event Data

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

PropertyDescription
Canceled True if exporting process was been canceled.
CancelInfo Returns an object that provides information about action that canceled the export.
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.
Workbook (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Exporting workbook.
Remarks

The ExportEnded event is raised after the export process has been completed. If an overload of the Export method that accepts a filename was used, then the file would be available at this point since the file is saved after the ExportEnding event has been completed but before the ExportEnded. Therefore any manipulations of the Workbook should be done in the ExportEnding event or else those changes will not be reflected in the saved file.

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