Back to Devexpress

PdfViewer.NavigationPaneInitialVisibility Property

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdfviewer-2a31e44b.md

latest3.4 KB
Original Source

PdfViewer.NavigationPaneInitialVisibility Property

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

Namespace : DevExpress.XtraPdfViewer

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
[DefaultValue(PdfNavigationPaneVisibility.Default)]
public PdfNavigationPaneVisibility NavigationPaneInitialVisibility { get; set; }
vb
<DefaultValue(PdfNavigationPaneVisibility.Default)>
Public Property NavigationPaneInitialVisibility As PdfNavigationPaneVisibility

Property Value

TypeDefaultDescription
PdfNavigationPaneVisibilityDefault

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

|

Available values:

NameDescription
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

PdfViewer Class

PdfViewer Members

DevExpress.XtraPdfViewer Namespace