Version

HeaderRowExporting Event

Occurs before a header row is exported to a report.
Syntax
'Declaration
 
Public Event HeaderRowExporting As EventHandler(Of HeaderRowExportingEventArgs)
public event EventHandler<HeaderRowExportingEventArgs> HeaderRowExporting
Event Data

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

PropertyDescription
Band The Infragistics.Win.UltraWinGrid.UltraGridBand whose headers are being exported.
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
Remarks

HeaderRowExportingEventArgs.Band returns the Infragistics.Win.UltraWinGrid.UltraGridBand associated with the headers being exported.

This event is fired before a set of headers is exported to the report. The header includes the band header (if any), the group headers (if groups and levels are used), and the column headers. Use the Cancel argument to cancel the exporting of the entire set of headers.

Using these event arguments, it is possible to override the exporting of a header and provide custom exported data. Typically, this would be done by setting Cancel to True, and adding conent to the appropriate header container. If IsFixedHeader is True, content should be added to the FixedHeaderContainer, otherwise, content should be added to the HeaderContainer.

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