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 | |
---|---|---|
DrillthroughEventArgs(String, Report) | Constructs a new DrillthroughEventArgs object. |
Properties
Name | Description | |
---|---|---|
Cancel | (Inherited from CancelEventArgs.) |
|
Report | Gets the target report of the drillthrough action. |
|
ReportPath | Gets the path of the drillthrough report. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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