PdfViewer.NavigationPaneVisibility Property

Specifies the current visible state of a navigation pane.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v21.1.dll


public PdfNavigationPaneVisibility NavigationPaneVisibility { get; set; }

Property Value

Type Description

A PdfNavigationPaneVisibility enumerator value defining the visibility of a navigation pane.

Available values:

Name Description

When this option is specified for the PdfViewer.NavigationPaneInitialVisibility property, it sets the PdfViewer.NavigationPaneVisibility property either to Visible (a document contains bookmarks) or to Collapsed (a document does not have bookmarks and attachments tab is shown in the collapsed state). This option is not supported for the PdfViewer.NavigationPaneVisibility property (the ArgumentOutOfRangeException is thrown).


The PDF navigation pane is hidden.


The PDF navigation pane is collapsed.


This navigation pane is displayed.


The PDF navigation pane is expanded.


Use the NavigationPaneVisibility property to specify the current visible state of a navigation pane (where outlines and attachments can be located). The available values are PdfNavigationPaneVisibility.Collapsed, PdfNavigationPaneVisibility.Expanded, PdfNavigationPaneVisibility.Hidden and PdfNavigationPaneVisibility.Visible.


The PdfNavigationPaneVisibility.Default mode is not supported for the NavigationPaneVisibility property. If you set the NavigationPaneVisibility property to the PdfNavigationPaneVisibility.Default mode, the ArgumentOutOfRangeException exception is thrown.

Use the PdfViewer.NavigationPaneInitialVisibility property to specify the visible state of the navigation pane after loading a new document.

See Also