Delegado DrillthroughEventHandler
Represents the method that will handle the Drillthrough event of a ReportViewer.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)
Sintaxe
'Declaração
Public Delegate Sub DrillthroughEventHandler ( _
sender As Object, _
e As DrillthroughEventArgs _
)
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
JScript não oferece suporte a delegados.
Parâmetros
- sender
Tipo: Object
The object that raised the event.
- e
Tipo: Microsoft.Reporting.WinForms.DrillthroughEventArgs
A DrillthroughEventArgs object that contains the event data.
Comentários
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 Consumindo eventos.
Exemplos
Please see the Drillthrough method of the ReportViewer class for an example.