Skip to main content

PreviewModelBase Members

The base for classes that provide the Preview Model functionality.

Constructors

Name Description
PreviewModelBase() Initializes a new instance of the PreviewModelBase class with default settings.

Properties

Name Description
CursorService Specifies the service that is used to customize the mouse pointer settings on the client.
DialogService

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

InputController Provides access to an object that stores keyboard and mouse shortcuts corresponding to appropriate Report Designer commands.
IsCreating Specifies whether a document is still being created.
IsIncorrectPageContent Returns a value specifying whether the document page content is rendered correctly.
IsLoading Specifies whether a document is still being loaded.
PageContent Provides access to the content of report pages.
PageCount Gets a value indicating the total number of pages in a report document.
PageViewHeight Gets a value indicating the height of a page as it appears on-screen.
PageViewWidth Gets a value indicating the width of a page as it appears on-screen.
UseSimpleScrolling Specifies whether a simple scrolling mode should be used for the document.
Zoom Specifies the zoom factor of a report document.
ZoomDisplayFormat Specifies the display format of available zoom factor values.
ZoomDisplayText Specifies the display text for a zoom factor value.
ZoomInCommand Increases the document zoom factor.
ZoomMode Specifies the zooming mode that is applied to a report document.
ZoomModes Provides access to a collection of zooming modes available for a report document.
ZoomOutCommand Decreases the document zoom factor.

Methods

Name Description
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.
HandlePreviewMouseLeftButtonDown(MouseButtonEventArgs, FrameworkElement) For internal use.
HandlePreviewMouseLeftButtonUp(MouseButtonEventArgs, FrameworkElement) For internal use.
HandlePreviewMouseMove(MouseEventArgs, FrameworkElement) For internal use.
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.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs every time any of the PreviewModelBase class properties has changed its value.
See Also