Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether the user can drill down into the report.
Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)
Syntax
'Declaration
Public Property EnableDrillDown As Boolean
public bool EnableDrillDown {get; set;}
Example
The following example initializes CrystalReportViewer control.
'Declaration
Private Sub InitializeViewer(ByVal height As Integer, ByVal width As Integer)
CrystalReportViewer.EnableDrillDown = True
CrystalReportViewer.DisplayToolbar = True
CrystalReportViewer.Height = height
CrystalReportViewer.Left = 0
CrystalReportViewer.ShowCloseButton = True
CrystalReportViewer.ShowExportButton = True
CrystalReportViewer.DisplayGroupTree = True
CrystalReportViewer.ShowPageNavigateButtons = True
CrystalReportViewer.ShowPrintButton = True
CrystalReportViewer.ShowRefreshButton = True
CrystalReportViewer.ShowTextSearchButton = True
CrystalReportViewer.ShowZoomButton = True
CrystalReportViewer.Top = 0
CrystalReportViewer.Width = width
End Sub
private void InitializeViewer(int height, int width)
{
crystalReportViewer.EnableDrillDown = true;
crystalReportViewer.DisplayToolbar = true;
crystalReportViewer.Height = height;
crystalReportViewer.Left = 0;
crystalReportViewer.ShowCloseButton = true;
crystalReportViewer.ShowExportButton = true;
crystalReportViewer.DisplayGroupTree = true;
crystalReportViewer.ShowPageNavigateButtons = true;
crystalReportViewer.ShowPrintButton = true;
crystalReportViewer.ShowRefreshButton = true;
crystalReportViewer.ShowTextSearchButton = true;
crystalReportViewer.ShowZoomButton = true;
crystalReportViewer.Top = 0;
crystalReportViewer.Width = width;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace