[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Collapse]PDF Viewer
    Getting Started
    Coordinate Systems
   [Expand]Additional Content
   [Expand]Interactive Forms
   [Expand]Manipulate Document Content
    Adjust the Document View
   [Collapse]Visual Elements
     Navigation Pane
     Cursor Modes
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Navigation Pane

This document contains the following sections.

This document consists of the following sections:

Expanded Built-In Panels

The navigation pane is used to display thumbnails, bookmarks, and attachments. You can open (close) Page Thumbnails, Bookmarks or Attachments panel using the corresponding tab in the navigation pane.

Bookmarks Panel

This panel displays bookmarks from the current PDF file, if any are present.

The Options drop-down list shows bookmark settings.

The table below describes these settings and lists the API used to specify the corresponding option in code.

Option Description API
Expand Current Bookmarks Expands selected bookmark. PdfOutlinesExpandCurrentCommand
Collapse/Expand Top-Level Bookmarks Expands or collapses all bookmarks. PdfOutlinesExpandCollapseTopLevelCommand
Hide After Use Specifies whether to hide the panel after an outline was clicked. PdfOutlineViewerSettings.HideAfterUse
Text Size Gets or sets the size of the bookmark nodes. PdfOutlineViewerSettings.TextSize
Wrap Long Bookmarks Specifies whether to wrap long bookmark names. PdfOutlineViewerSettings.UseOutlinesForeColor

Attachments Panel

This panel displays the list of file attachments in the current PDF file, if any are present.

When you open an attachment, the Security Warning message appears. Handle the PdfViewer.FileAttachmentOpening event to hide the message box.

Thumbnails Panel

The Page Thumbnails panel displays page thumbnails.

The Options drop-down list shows thumbnail settings. This list can also be accessed from the panel's context menu.

Option Description Command
Print Page(s) Invokes the Print dialog to print pages that correspond to the selected thumbnails. If there are no selected thumbnails in the panel, all the pages are printed. PdfThumbnailsPrintPagesCommand
Enlarge Page Thumbnails Increases the page thumbnails size. PdfEnlargePageThumbnailsCommand
Reduce Page Thumbnails Decreases the page thumbnails size. PdfReducePageThumbnailsCommand

You can use the zoom slider or Ctrl+Mouse Wheel shortcut to enlarge/reduce thumbnails.

Expanded Customization

The PDF Viewer provides the following API to customize the navigation pane:

Action Properties Events
Change the pane's visibility PdfViewer.NavigationPaneVisibility<br/> PdfViewer.NavigationPaneInitialVisibility PdfViewer.NavigationPaneVisibilityChanged
Display only specific panels PdfViewer.NavigationPanePageVisibility
Change active page PdfViewer.NavigationPaneInitialSelectedPage<br/>PdfViewer.NavigationPaneSelectedPage PdfViewer.NavigationPaneSelectedPageChanged
Specify the pane's width PdfViewer.NavigationPaneWidth<br/>PdfViewer.NavigationPaneMinWidth

The NavigationPaneSelectedPage property does not select a page on the navigation pane if the selected page is hidden using the PdfViewer.NavigationPanePageVisibility property or set to the panel that does not appear for the current document (for example, if the document does not contain bookmarks).

Expanded See Also

Is this topic helpful?​​​​​​​