Share via


DrillthroughEventArgs Class

 

Provides data for the Drillthrough event.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Inheritance Hierarchy

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

Syntax

[ComVisibleAttribute(false)]
public sealed class DrillthroughEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class DrillthroughEventArgs sealed : CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type DrillthroughEventArgs = 
    class
        inherit CancelEventArgs
    end
<ComVisibleAttribute(False)>
Public NotInheritable Class DrillthroughEventArgs
    Inherits CancelEventArgs

Constructors

Name Description
System_CAPS_pubmethod DrillthroughEventArgs(String, Report)

Constructs a new DrillthroughEventArgs object.

Properties

Name Description
System_CAPS_pubproperty Cancel

(Inherited from CancelEventArgs.)

System_CAPS_pubproperty Report

Gets the target report of the drillthrough action.

System_CAPS_pubproperty ReportPath

Gets the path of the drillthrough report.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

Examples

Legacy Code Example

For an example, please see Drillthrough.

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

Microsoft.Reporting.WinForms Namespace

Return to top