PdfViewer.NavigationPaneInitialSelectedPage Property

Gets or sets a value that specifies a page (thumbnails, bookmarks or attachments) that will be selected on the navigation pane after loading a new PDF document.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v21.1.dll

Declaration

[DefaultValue(PdfNavigationPanePage.Default)]
public PdfNavigationPanePage NavigationPaneInitialSelectedPage { get; set; }

Property Value

Type Default Description
PdfNavigationPanePage

Default

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

This property returns one of four PdfNavigationPanePage enumeration values: Attachments, Bookmarks, Thumbnails, and Default. In Default mode, the Bookmarks page is opened if a document contains bookmarks. Otherwise, the Thumbnails page is shown on the navigation pane.

The NavigationPaneInitialSelectedPage property automatically assigns its value to the PdfViewer.NavigationPaneSelectedPage property after a document is loaded to the PDF Viewer.

See Also