'Declaration Public Event EndExport As EventHandler(Of EndExportEventArgs)
public event EventHandler<EndExportEventArgs> EndExport
The event handler receives an argument of type EndExportEventArgs containing data related to this event. The following EndExportEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Canceled | True if the exporting process was canceled. |
The EndExportEventArgs.Canceled argument is True if the exporting process was canceled.
This event is fired after the exporting process is finished and is fired after all other events.
Imports Infragistics.Documents.Report Imports Infragistics.Win.UltraWinGrid.DocumentExport Private Sub ultraGridDocumentExporter1_EndExport(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinGrid.DocumentExport.EndExportEventArgs) Handles ultraGridDocumentExporter1.EndExport If (e.Canceled) Then MessageBox.Show("The Export was cancelled") Else MessageBox.Show("Export succesful") End If End Sub
using Infragistics.Documents.Report; using Infragistics.Win.UltraWinGrid.DocumentExport; private void ultraGridDocumentExporter1_EndExport(object sender, EndExportEventArgs e) { if (e.Canceled) MessageBox.Show("The Export was cancelled"); else MessageBox.Show("Export succesful"); }
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