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.v23.2.dll
NuGet Package: DevExpress.Win.PdfViewer
Declaration
Property Value
Type | Description |
---|---|
PdfNavigationPanePage | A PdfNavigationPanePage enumeration value that represents a selected page on the navigation pane. |
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. |
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.