Skip to main content

PdfViewer.NavigationPaneInitialVisibility Property

Specifies the initial visible state of a navigation pane after loading a new PDF document.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v23.2.dll

NuGet Package: DevExpress.Win.PdfViewer

Declaration

[DefaultValue(PdfNavigationPaneVisibility.Default)]
public PdfNavigationPaneVisibility NavigationPaneInitialVisibility { get; set; }

Property Value

Type Default Description
PdfNavigationPaneVisibility Default

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

Available values:

Name Description
Default

Equal to Visible (if a document contains bookmarks) or to Collapsed (if a document does not have bookmarks, and Attachments tab is collapsed). This option is not available for the NavigationPaneVisibility property.

Hidden

Navigation pane is hidden.

Collapsed

The Navigation pane is collapsed.

Visible

The Navigation pane is displayed.

Expanded

The Navigation pane is expanded.

Remarks

Use the NavigationPaneInitialVisibility property to specify the initial visible state of a navigation pane (where bookmarks and attachments can be located) after a PDF document is loaded. The available values are PdfNavigationPaneVisibility.Default, PdfNavigationPaneVisibility.Collapsed, PdfNavigationPaneVisibility.Expanded, PdfNavigationPaneVisibility.Hidden and PdfNavigationPaneVisibility.Visible.

When the NavigationPaneInitialVisibility property is set to PdfNavigationPaneVisibility.Default, it sets the PdfViewer.NavigationPaneVisibility property either to PdfNavigationPaneVisibility.Visible (if the document contains bookmarks) or to PdfNavigationPaneVisibility.Collapsed (if a document does not have bookmarks and the attachments is collapsed).

See Also