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.
A PdfNavigationPanePage enumeration value that represents a selected page on the navigation pane.
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.