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
'Declaration
Public Delegate Sub DrillthroughEventHandler ( _
sender As Object, _
e As DrillthroughEventArgs _
)
'Usage
Dim instance As New DrillthroughEventHandler(AddressOf HandlerMethod)
public delegate void DrillthroughEventHandler (
Object sender,
DrillthroughEventArgs e
)
public delegate void DrillthroughEventHandler (
Object^ sender,
DrillthroughEventArgs^ e
)
/** @delegate */
public delegate void DrillthroughEventHandler (
Object sender,
DrillthroughEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
The object that raised the event.
- e
A 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 Consuming Events.
Example
Please see the Drillthrough method of the ReportViewer class for an example.