Version

SummaryResultsExporting Event

Occurs when one or more Infragistics.Windows.DataPresenter.SummaryResult instances are being written to the Word document.
Syntax
'Declaration
 
Public Event SummaryResultsExporting As EventHandler(Of SummaryResultsExportingEventArgs)
public event EventHandler<SummaryResultsExportingEventArgs> SummaryResultsExporting
Event Data

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

PropertyDescription
CellSettings (Inherited from Infragistics.Windows.DataPresenter.WordWriter.CellExportingEventArgsBase)Returns the resolved settings to be applied to the cell.
Field (Inherited from Infragistics.Windows.DataPresenter.WordWriter.CellExportingEventArgsBase)Returns the Field associated with the value being exported or null if there is no field associated with the value.
Position Returns an enumeration indicating the position of the summary.
Record (Inherited from Infragistics.Windows.DataPresenter.WordWriter.CellExportingEventArgsBase)Returns the associated Record.
SummaryResults Returns a read-only collection of the results being output.
Value (Inherited from Infragistics.Windows.DataPresenter.WordWriter.CellExportingEventArgsBase)Returns or sets the value that should be written for the cell.
Remarks

This event provides an opportunity to change the CellExportingEventArgsBase.Value that will written out based upon the specified SummaryResultsExportingEventArgs.SummaryResults. The results are aggregated together for a given Infragistics.Windows.DataPresenter.SummaryRecord or Infragistics.Windows.DataPresenter.GroupByRecord based upon the resolved SummaryPosition. For example the event will be raised once for all summaries within a SummaryRecord whose SummaryPosition is set to Left, Center or Right. It will also be raised for each Field that has summaries positioned based on the Field location.

Note: The event is not raised for any position for which there are no summaries.

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