SubreportProcessingEventHandler Delegate
Represents the method that will handle the SubreportProcessing event of a ReportViewer.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Delegate Sub SubreportProcessingEventHandler ( _
sender As Object, _
e As SubreportProcessingEventArgs _
)
'Usage
Dim instance As New SubreportProcessingEventHandler(AddressOf HandlerMethod)
public delegate void SubreportProcessingEventHandler (
Object sender,
SubreportProcessingEventArgs e
)
public delegate void SubreportProcessingEventHandler (
Object^ sender,
SubreportProcessingEventArgs^ e
)
/** @delegate */
public delegate void SubreportProcessingEventHandler (
Object sender,
SubreportProcessingEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
The object that raised the event.
- e
A SubreportProcessingEventArgs object containing information about the event.
Remarks
You must supply data for any data sources used in subreports. To do this, you must supply an event handler for the subreport processing event.
For more information about handling events, see Consuming Events.
Example
For an example, see the SubreportProcessing method of the LocalReport class.