Back to Devexpress

PdfViewer.NavigationPaneSelectedPage Property

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdfviewer-dbe1a828.md

latest3.0 KB
Original Source

PdfViewer.NavigationPaneSelectedPage Property

Gets or sets a value that is used to select a current page (thumbnails, bookmarks or attachments) programmatically on the navigation pane. You can also obtain the currently selected page that is opened on the navigation pane.

Namespace : DevExpress.XtraPdfViewer

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
[Browsable(false)]
public PdfNavigationPanePage NavigationPaneSelectedPage { get; set; }
vb
<Browsable(False)>
Public Property NavigationPaneSelectedPage As PdfNavigationPanePage

Property Value

TypeDescription
PdfNavigationPanePage

A PdfNavigationPanePage enumeration value that represents a selected page on the navigation pane.

|

Available values:

NameDescription
Default

When this option is used, the Bookmarks page is opened if a document contains bookmarks. Otherwise, the Thumbnails page is shown on the navigation pane.

| | Thumbnails |

The Thumbnails page is selected on the navigation pane.

| | Bookmarks |

The Bookmarks page is selected on the navigation pane.

| | Attachments |

The Attachments page is selected on the navigation pane.

| | Comments |

The Comments page is selected on the navigation pane.

| | Signatures |

The Signatures page is selected on the navigation pane.

| | Layers |

The Layers page is selected on the navigation pane.

|

Remarks

The NavigationPaneSelectedPage property returns one of the PdfNavigationPanePage enumeration values, except for Default.

The NavigationPaneSelectedPage property does not select a specified page on the navigation page in the following cases:

When the NavigationPaneSelectedPage property is set to PdfNavigationPanePage.Default, the Bookmarks page is opened if a document contains bookmarks. Otherwise, the Thumbnails page is shown on the navigation pane.

See Also

PdfViewer Class

PdfViewer Members

DevExpress.XtraPdfViewer Namespace