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
public delegate void SubreportProcessingEventHandler(
object sender,
SubreportProcessingEventArgs e
)
public delegate void SubreportProcessingEventHandler(
Object^ sender,
SubreportProcessingEventArgs^ e
)
type SubreportProcessingEventHandler =
delegate of
sender:Object *
e:SubreportProcessingEventArgs -> unit
Public Delegate Sub SubreportProcessingEventHandler (
sender As Object,
e As SubreportProcessingEventArgs
)
Parameters
sender
Type: System.ObjectThe object that raised the event.
e
Type: Microsoft.Reporting.WinForms.SubreportProcessingEventArgsA 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 NIB: Consuming Events.
Examples
Legacy Code Example
For an example, see the SubreportProcessing method of the LocalReport class.
See Also
Microsoft.Reporting.WinForms Namespace
Return to top