Back to Devexpress

Print Preview with a Ribbon Toolbar

xtrareports-5186-desktop-reporting-winforms-reporting-winforms-reporting-print-preview-gui-print-preview-with-a-ribbon-toolbar.md

latest3.4 KB
Original Source

Print Preview with a Ribbon Toolbar

  • Aug 18, 2023
  • 2 minutes to read

This document describes the main UI elements of a Print Preview form featuring a ribbon toolbar.

The PrintControl component is used to display a document’s pages in Print Preview.

The Print Control displays the following message if a report is not assigned to Print Preview (or an empty report containing no controls on any of its bands is assigned):

The Print Control provides scroll bars for navigating through document pages and the Find panel that enables text search within a document.

Selecting a document’s content and right-clicking it invokes a context menu enabling you to print this content or copy it to the clipboard.

The PrintRibbonController component provides the Print Preview’s ribbon interface.

The Print Ribbon Controller includes the following elements:

Dock Manager

The DockManager component contains various panels that can be displayed for a document:

|

Image

|

Description

| | --- | --- | |

|

A Parameters panel

When a report contains visible parameters, this panel enables you to pass custom values to these parameters and rebuild the document using these values (clicking Submit ), as well as restore the parameter values to their defaults (clicking Reset ).

| |

|

A Document Map

When a report has bookmarks assigned to its controls, this panel displays their hierarchy and allows you to navigate to the corresponding sections in a document.

| |

|

A Thumbnails panel

View document pages as thumbnails. Allows you to navigate to a page by selecting the corresponding thumbnail.

|

You can toggle these panels’ visibility using the corresponding buttons on the Print Preview toolbar.

See Also

Invoke the Built-in Print Preview Form

Create a Custom Print Preview

Quick Guide to Print Preview Customization