Version

ExportStarted Event

Occurs before the export begins.
Syntax
'Declaration
 
Public Event ExportStarted As EventHandler(Of ExportStartedEventArgs)
public event EventHandler<ExportStartedEventArgs> ExportStarted
Event Data

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

PropertyDescription
Layout A cloned Infragistics.Win.UltraWinGrid.UltraGridLayout of the grid being exported.
Rows The root Infragistics.Win.UltraWinGrid.RowsCollection of the grid being exported.
WordDocumentWriter Returns a reference to the WordDocumentWriter which is writing the grid into the destination.
Remarks

The ExportStartedEventArgs.Layout is a cloned Infragistics.Win.UltraWinGrid.UltraGridLayout of the grid being exported. Since the layout is cloned, you can safely modify the layout for exporting without affecting the on-screen grid.

ExportStartedEventArgs.Rows is the root Infragistics.Win.UltraWinGrid.RowsCollection of the grid being exported.

This event is fired before all other events when the Export(UltraGrid,String) method is called. You can use it to do any preprocessing before exporting process starts. For example, you can set properties on the cloned layout.

Requirements

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

See Also