Skip to main content
A newer version of this page is available. .

ReportServicePreviewModel Members

Obsolete. Obsolete. Provides the Preview Model functionality for a Report Service.

Constructors

Name Description
ReportServicePreviewModel() Initializes a new instance of the ReportServicePreviewModel class with default settings.
ReportServicePreviewModel(String) Initializes a new instance of the ReportServicePreviewModel class with the specified universal resource identifier (URI) of a Report Service.

Properties

Name Description
AutoShowParametersPanel Specifies whether the Parameters panel is visible in the Document Preview.
CurrentPageIndex Specifies the zero-based current page index. Inherited from DocumentPreviewModelBase.
CurrentPageNumber Specifies the current page number. Inherited from DocumentPreviewModelBase.
CursorService Specifies the service that is used to customize the mouse pointer settings on the client. Inherited from PreviewModelBase.
DialogService

Specifies the service that is used to invoke dialog windows on the client. An object implementing the IDialogService interface.

Inherited from PreviewModelBase.
DocumentMapRootNode For internal use. Gets the root node of the Document Map.
DocumentMapSelectedNode For internal use. Gets the currently selected node of the Document Map. Inherited from DocumentPreviewModelBase.
ExportCommand Exports the current document. Inherited from DocumentPreviewModelBase.
FirstPageCommand Navigates to the first page of the current document. Inherited from DocumentPreviewModelBase.
FoundBrickInfo For internal use. Required to highlight an element found using the Search option. Inherited from DocumentPreviewModelBase.
InputController Provides access to the input controller associated with the DocumentPreviewModelBase. Inherited from DocumentPreviewModelBase.
InstanceIdentity Specifies the report identifier.
IsCreating Gets a value indicating whether the document is being created.
IsDocumentMapVisible Specifies whether the Document Map panel is visible. Inherited from DocumentPreviewModelBase.
IsEmptyDocument Gets the value specifying whether the document has any pages.
IsIncorrectPageContent Returns a value specifying whether the document page content is rendered correctly. Inherited from PreviewModelBase.
IsLoading Specifies whether a document is still being loaded. Inherited from PreviewModelBase.
IsOpenButtonVisible Gets the value indicating whether the Open button is available in the Document Viewer toolbar.
IsParametersPanelVisible Specifies whether the Parameters panel is visible. Inherited from DocumentPreviewModelBase.
IsSaveButtonVisible Gets the value indicating whether the Save button is available in the Document Viewer toolbar.
IsScaleVisible Gets the value indicating whether the Scale button is available in the Bar Manager of the Document Preview. Inherited from DocumentPreviewModelBase.
IsSearchPanelVisible Specifies whether the Search panel is visible in Document Preview. Inherited from DocumentPreviewModelBase.
IsSearchVisible Gets the value indicating whether the Search command is accessible in a Document Preview. Inherited from DocumentPreviewModelBase.
IsSendVisible Gets the value indicating whether the Send via e-mail… button is available in the Document Viewer toolbar.
IsSetWatermarkVisible Specifies whether the Watermark button is visible in the Document Viewer toolbar.
LastPageCommand Navigates to the last page of the current document. Inherited from DocumentPreviewModelBase.
NextPageCommand Navigates to the next page of the current document. Inherited from DocumentPreviewModelBase.
OpenCommand Opens a document. Inherited from DocumentPreviewModelBase.
PageContent Provides access to the content of report pages. Inherited from PreviewModelBase.
PageCount Gets the number of pages in the document.
PageSetupCommand Runs the Page Setup dialog for the current document. Inherited from DocumentPreviewModelBase.
PageViewHeight Gets a value indicating the height of a page as it appears on-screen. Inherited from PreviewModelBase.
PageViewWidth Gets a value indicating the width of a page as it appears on-screen. Inherited from PreviewModelBase.
Parameters Obsolete. Provides access to the parameters of a report associated with the ReportServicePreviewModel.
ParametersModel Provides access to a collection of ParameterModel objects associated with the ReportServicePreviewModel class.
PreviousPageCommand Navigates to the previous page of the current document. Inherited from DocumentPreviewModelBase.
PrintCommand Prints the current document using the specified printer. Inherited from DocumentPreviewModelBase.
PrintDirectCommand Prints the current document using the default printer. Inherited from DocumentPreviewModelBase.
ProgressMarqueeVisibility Indicates the current visibility of the Marquee (Indeterminate) Progress Bar, which appears in the Document Preview while the document is being created.
ProgressMaximum Specifies the maximum absolute value shown in the Progress Bar, which appears in the Document Viewer while the document is being created.
ProgressValue Gets the current progress value shown in the Progress Bar, which appears in the Document Viewer while the document is being created.
ProgressVisibility Gets the current visibility of the Progress Bar, which appears in the Document Preview while the document is being created.
ReportName Specifies the name of the report, which is assigned to the ReportServicePreviewModel.
SaveCommand Saves the current document. Inherited from DocumentPreviewModelBase.
ScaleCommand Adjusts the scale of the current report. Inherited from DocumentPreviewModelBase.
SendCommand Exports and attaches the current document to an e-mail. Inherited from DocumentPreviewModelBase.
ServiceClientFactory Specifies the client factory for a report service.
ServiceUri Specifies the universal resource identifier (URI) of the report service defined for the ReportServicePreviewModel.
StatusUpdateInterval Specifies the time interval, in which ReportServicePreviewModel‘s events are raised.
StopCommand Interrupts the document’s generation. Inherited from DocumentPreviewModelBase.
ToggleDocumentMapCommand Executes the command, which shows or hides the Document Map panel. Inherited from DocumentPreviewModelBase.
ToggleParametersPanelCommand Executes the command, which shows or hides the Parameters panel. Inherited from DocumentPreviewModelBase.
ToggleSearchPanelCommand Executes the command, which shows or hides the Search panel. Inherited from DocumentPreviewModelBase.
UseSimpleScrolling Specifies whether a simple scrolling mode should be used for the document. Inherited from PreviewModelBase.
WatermarkCommand Shows the Watermark dialog. Inherited from DocumentPreviewModelBase.
Zoom Specifies the zoom factor of a report document. Inherited from PreviewModelBase.
ZoomDisplayFormat Specifies the display format of available zoom factor values. Inherited from PreviewModelBase.
ZoomDisplayText Specifies the display text for a zoom factor value. Inherited from PreviewModelBase.
ZoomInCommand Increases the document zoom factor. Inherited from PreviewModelBase.
ZoomMode Specifies the zooming mode that is applied to a report document. Inherited from PreviewModelBase.
ZoomModes Provides access to a collection of zooming modes available for a report document. Inherited from PreviewModelBase.
ZoomOutCommand Decreases the document zoom factor. Inherited from PreviewModelBase.

Methods

Name Description
Clear() Clears the Document Preview.
CreateDocument() Starts the background creation of a document, which is assigned to the ReportServicePreviewModel.
CreateDocument(DefaultValueParameterContainer) For internal use.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HandlePreviewDoubleClick(MouseEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseLeftButtonDown(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseLeftButtonUp(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseMove(MouseEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetZoom(Double) Applies the specified zoom factor value to a document. Inherited from PreviewModelBase.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CreateDocumentError Occurs if an error occurs when attempting to create a document.
ExportError Occurs in case of any error while exporting a report document.
GetPageError Occurs when an error occurs on an attempt to request a document’s page.
ParametersMergingError Fires if errors occur while processing report parameters during creation of the report document.
PreviewClick Occurs when the left mouse button is clicked in the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PreviewDoubleClick Occurs when the left mouse button is double-clicked in the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PreviewMouseMove Occurs when the mouse cursor moves over the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PrintError Occurs if an error occurs while printing a document.
PropertyChanged Occurs every time any of the PreviewModelBase class properties has changed its value. Inherited from PreviewModelBase.
See Also