Version

HeaderLabelExported Event

Occurs after a header label is exported to Excel.
Syntax
'Declaration
 
Public Event HeaderLabelExported As EventHandler(Of HeaderLabelExportedEventArgs)
public event EventHandler<HeaderLabelExportedEventArgs> HeaderLabelExported
Event Data

The event handler receives an argument of type HeaderLabelExportedEventArgs containing data related to this event. The following HeaderLabelExportedEventArgs 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 associated with the header cell.
FieldGroup Returns the FieldGroup associated with the header cell.
Label Returns the label value of the header cell.
Record Returns the first record associated with the headers.
Workbook (Inherited from Infragistics.Windows.DataPresenter.ExcelExporter.ExcelExportEventArgs)Exporting workbook.
Remarks

The Field argument returns a reference to the associated field.

The Label argument retuns the value that has been exported to the header cell.

The Record argument returns a reference to the first record associated with the headers.

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

Use this event to apply any additional formatting to Excel cell.

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