ReportViewer API of Essential Studio WPF
2 Jun 20211 minute to read
Properties
Property |
Description |
Type |
Data Type |
ReportPath |
Gets or sets the file Reporting Server Report Path or local system path. |
Dependency Property |
string |
DataSources |
Get a collection of data sources used by the report. |
- |
ReportDataSourceCollection |
CurrentPage |
Gets or sets the current page |
Dependency Property |
Int |
ProcessingMode |
Gets or sets the processing mode namely Remote(from ReportingService or process DataSource from Database server) or Local |
Dependency Property |
Enum |
ReportServerUrl |
Gets or sets the ReportServerUrl of the Report Server |
Dependency Property |
String |
ShowContextMenu |
Gets or sets the ContextMenu visibility |
Dependency Property |
Boolean |
ShowPrintButton |
Gets or sets a value that indicates whether Print button is visible on the toolbar. |
Dependency Property |
Boolean |
ShowRefreshButton |
Gets or sets a value that indicates whether the Refresh button is visible. |
Dependency Property |
Boolean |
ShowToolBar |
Gets or sets a value that indicates whether the toolbar is visible on the control. |
Dependency Property |
Boolean |
ShowZoomControl |
Gets or sets a value that indicates whether the Zoom list box is visible. |
Dependency Property |
Boolean |
ViewMode |
Gets or sets a value that indicates whether it is Normal or Print View |
Dependency Property |
enum |
ShowPdfExportButton |
Gets or sets a value that indicates whether the PDF button is visible |
Dependency Property |
Boolean |
ShowXPSExportButton |
Gets or sets a value that indicates whether the XPS Export Button is Visible |
Dependency Property |
Boolean |
ShowExportControls |
Get or set a value that indicates whether the Export control is Visible |
Dependency Property |
Boolean |
ShowPageNavigationControls |
Get or set a value that indicates whether the page navigation controls is visible |
Dependency Property |
Boolean |
ReportServerCredential |
Credential access to Report Server |
Dependency Property |
ICredentials |
ShowPageLayoutControl |
Gets or sets a value that indicates whether the page layout control is visible |
Dependency Property |
Boolean |
ShowParametersBlock |
Gets or sets a value that indicates whether the parameter block control is visible |
Dependency Property |
Boolean |
Methods
Method |
Description |
Parameters |
Return Type |
RefreshReport |
Causes the local report to be rendered with new data. |
- |
Void |
GetParameters |
Get the necessary parameters for the report |
- |
ReportParameterInfoCollection |
GetTotalPage |
Gets the total pages of the report |
- |
Void |
GetDataSetNames |
Get the dataset names from the local report |
- |
IList<string> |
LoadReport |
Loads the Local report for processing |
Stream |
void |
Print |
Displays the Print dialog box. |
- |
Void |
ShowNormalView |
Displays the Normal view of the Report |
- |
Void |
SetParameters |
Set the necessary parameters for the report |
ReportParameter[] |
void |
Events
Event |
Description |
ViewModeChanged |
The event is triggered when the view is changed to normal and print view |
ViewButtonClick |
The event is triggered when the view button is clicked |
SubreportProcessing |
The event is triggered when the report is RDLC and contains with sub report. |