Share via


DrillthroughEventArgs Class

Provides data for the Drillthrough event.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class DrillthroughEventArgs
    Inherits CancelEventArgs
'Usage
Dim instance As DrillthroughEventArgs
[ComVisibleAttribute(false)] 
public sealed class DrillthroughEventArgs : CancelEventArgs
[ComVisibleAttribute(false)] 
public ref class DrillthroughEventArgs sealed : public CancelEventArgs
/** @attribute ComVisibleAttribute(false) */ 
public final class DrillthroughEventArgs extends CancelEventArgs
ComVisibleAttribute(false) 
public final class DrillthroughEventArgs extends CancelEventArgs

Remarks

This is passed to the DrillthroughEventHandler delegate when a Drillthrough event occurs.

You can examine the value of the ReportPath property and supply data corresponding to that report.

You can call the GetParameters method of the drillthrough report supplied in the targetReport parameter to examine the values of parameters being passed from the main report to the drillthrough report and to supply data corresponding to the parameter values.

Example

For an example, please see Drillthrough.

Inheritance Hierarchy

System.Object
   System.EventArgs
     System.ComponentModel.CancelEventArgs
      Microsoft.Reporting.WebForms.DrillthroughEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DrillthroughEventArgs Members
Microsoft.Reporting.WebForms Namespace