PdfViewer.NavigationPaneInitialVisibility Property
Specifies the initial visible state of a navigation pane after loading a new PDF document.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
PdfNavigationPaneVisibility | **Default** | A PdfNavigationPaneVisibility enumerator value defining the visibility of a navigation pane. |
Available values:
Name | Description |
---|---|
Default | When this option is specified for the |
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 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).