InterfaceIReportViewerModel
Interface
Represents the ReportViewerModel instance used by the ReportViewer.
Definition
Namespace:Telerik.ReportViewer.Common
Assembly:Telerik.ReportViewer.WinForms.dll
Syntax:
cs-api-definition
public interface IReportViewerModel
Methods
GetReportParameters()
Gets a copy of the report parameters collection used by the ReportViewerModel instance.
Declaration
cs-api-definition
IEnumerable<Parameter> GetReportParameters()
Returns
IEnumerable<Parameter>
A copy of the report parameters collection. Changing any of the parameter properties won't affect the report rendering.
GetState()
Gets the current state of the ReportViewerModel instance.
Declaration
cs-api-definition
string GetState()
Returns
string
A string constant representing the current viewer state.
Remarks
The WinFormsReportViewer returns a value from the ProcessingState enum. The WpfReportViewer returns a value from the Telerik.ReportViewer.Wpf.ReportViewerStates class.