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.v24.2.dll
NuGet Package: DevExpress.Win.PdfViewer
#Declaration
#Property Value
Type | Description |
---|---|
Pdf |
A Pdf |
Available values:
Name | Description |
---|---|
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:
- a selected page is hidden using the PdfViewer.NavigationPanePageVisibility property;
- the Bookmarks page is specified for a document that does not contain bookmarks.
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.