Version

GridFieldCaptionExporting Event (WebDocumentExporter)

Fires before a GridFieldCaption is exported. This event can be cancelled to stop the caption from being exported.
Syntax
'Declaration
 
Public Event GridFieldCaptionExporting As EventHandler(Of DocumentGridFieldCaptionExportingEventArgs)
public event EventHandler<DocumentGridFieldCaptionExportingEventArgs> GridFieldCaptionExporting
Event Data

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

PropertyDescription
Cancel Gets or sets a value indicating whether the event should be canceled.
Caption (Inherited from Infragistics.Web.UI.GridControls.BaseExportGridFieldCaptionEventArgs)The caption that is being exported
CellElement (Inherited from Infragistics.Web.UI.GridControls.DocumentGridFieldCaptionExportedEventArgs)The IGridCell in the report that the exported cell will belong to.
Column (Inherited from Infragistics.Web.UI.GridControls.BaseExportGridFieldCaptionEventArgs)The column of the caption that is being exported
ExportValue The value that will be exported to the cell in the report.
IsFooterCell (Inherited from Infragistics.Web.UI.GridControls.BaseExportGridFieldCaptionEventArgs)Returns true if this cell is in the grid footer.
IsHeaderCell (Inherited from Infragistics.Web.UI.GridControls.BaseExportGridFieldCaptionEventArgs)Returns true if this cell is in the grid header.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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