DrillthroughEventHandler Delegate
Represents the method that will handle the Drillthrough event of a ReportViewer.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public delegate void DrillthroughEventHandler(
object sender,
DrillthroughEventArgs e
)
public delegate void DrillthroughEventHandler(
Object^ sender,
DrillthroughEventArgs^ e
)
type DrillthroughEventHandler =
delegate of
sender:Object *
e:DrillthroughEventArgs -> unit
Public Delegate Sub DrillthroughEventHandler (
sender As Object,
e As DrillthroughEventArgs
)
Parameters
sender
Type: System.ObjectThe object that raised the event.
e
Type: Microsoft.Reporting.WinForms.DrillthroughEventArgsA DrillthroughEventArgs object that contains the event data.
Remarks
You must supply a data source for any drillthrough reports that are referenced by the main report. To do this, you must supply an event handler for the drillthrough event.
For more information about handling events, see NIB: Consuming Events.
Examples
Legacy Code Example
Please see the Drillthrough method of the ReportViewer class for an example.
See Also
Microsoft.Reporting.WinForms Namespace
Return to top