CrystalReportViewer Members
Provides properties, methods, and events that modify or retrieve information about how the CrystalReportViewer control appears and functions.
The following tables list the members exposed by the CrystalReportViewer type.
Public Properties
Property | Description | |
---|---|---|
ActiveViewIndex | Gets or sets the index of the active view in the CrystalReportViewer control. | |
BackColor | Overridden. Gets or sets the background color for the control. | |
BackgroundImage | Overridden. Gets or sets the background image displayed in the control. | |
BackgroundImageLayout | Overridden. Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration. | |
DisplayBackgroundEdge | Determines whether the report is offset from the edge of its view window. | |
DisplayGroupTree | Gets or sets whether the tree view is visible or hidden. | |
DisplayStatusBar | Gets or sets whether the status bar is visible or hidden. | |
DisplayToolbar | Gets or sets whether the toolbar is visible or hidden. | |
EnableDrillDown | Gets or sets whether the user can drill down into the report. | |
EnableToolTips | Gets or Sets whether tool tips are displayed in the report viewer. | |
EnterpriseLogon | Gets or sets the logon information for an enterprise report. | |
LogOnInfo | Gets or sets the TableLogOnInfos collection. | |
ParameterFieldInfo | Gets or sets the parameter fields collection. | |
ReportSource | Sets the report to bind to the CrystalReportViewer control. | |
ReportSourceClassFactoryName | Gets or sets the information needed to create an internal ReportSource object. | |
RightToLeft | Overridden. Gets or sets whether the text appears from right to left, such as when using Hebrew or Arabic fonts. | |
SelectionFormula | Gets or sets the record selection formula of the report. | |
ShowCloseButton | Gets or sets whether the CrystalReportViewer control's toolbar has the button for closing a report page. | |
ShowExportButton | Gets or sets whether the CrystalReportViewer control's toolbar has the button for exporting. | |
ShowGotoPageButton | Gets or sets whether the CrystalReportViewer control's toolbar has the button for specifying a page number. | |
ShowGroupTreeButton | Gets or sets whether the CrystalReportViewer control's toolbar has the button for showing or hiding the group tree. | |
ShowPageNavigateButtons | Gets or sets whether the CrystalReportViewer control's toolbar has the buttons for page navigation. | |
ShowPrintButton | Gets or sets whether the print button on the toolbar is visible or hidden. | |
ShowRefreshButton | Gets or sets whether the refresh button on the toolbar is visible or hidden. | |
ShowTextSearchButton | Gets or sets whether the search button on the toolbar is visible or hidden. | |
ShowZoomButton | Gets or sets whether the zoom factor list on the toolbar is visible or hidden. | |
ViewCount | Gets the number of views in the CrystalReportViewer control. | |
ViewTimeSelectionFormula | Gets or sets the record selection formula to filter the data that are currently used in the report. |
Top
Public Methods
Method | Description | |
---|---|---|
CloseView | Closes a view tab in the CrystalReportViewer control. | |
DrillDownOnGroup | Drills down on a group. | |
ExportReport | Exports the report displayed in the CrystalReportViewer control. | |
GetCurrentPageNumber | Gets the current page number of the report. | |
PrintReport | Prints the report displayed in the CrystalReportViewer control. | |
RefreshReport | Refreshes the report displayed in the CrystalReportViewer control. | |
SearchForText | Searches the report for the given text. | |
ShowFirstPage | Shows the first page of the report. | |
ShowGroupTree | Shows the group tree in the CrystalReportViewer control. | |
ShowLastPage | Shows the last page of the report. | |
ShowNextPage | Shows the next page of the report. | |
ShowNthPage | Shows the specified page of the report. | |
ShowPreviousPage | Shows the previous page of the report. | |
Zoom | Changes the magnification level of the CrystalReportViewer control. |
Top
Public Events
Event | Description | |
---|---|---|
Drill | Event fires when a report is drilled down on. | |
DrillDownSubreport | Event fires when the user drills down on a subreport. | |
Error | Event fires when an error occurs in the CrystalReportViewer control. | |
HandleException | Event fires when an exception occurs in the CrystalReportViewer control. | |
Navigate | Event fires when the user navigates through a report. | |
ReportRefresh | Event fires when the data in the report is refreshed. | |
Search | Event fires when text is searched for in the report. | |
ViewZoom | Event fires when zoom level of the CrystalReportViewer control changes. |
Top