Skip to main content
A newer version of this page is available. .

PdfViewer.NavigationPaneVisibility Property

Specifies the current visible state of a navigation pane.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v19.1.dll

Declaration

[Browsable(false)]
public PdfNavigationPaneVisibility NavigationPaneVisibility { get; set; }

Property Value

Type Description
PdfNavigationPaneVisibility

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

Available values:

Name Description
Default

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).

Hidden

The PDF navigation pane is hidden.

Collapsed

The PDF navigation pane is collapsed.

Visible

This navigation pane is displayed.

Expanded

The PDF navigation pane is expanded.

Remarks

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.

Note

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