PdfViewer.NavigationPaneInitialVisibility Property
Specifies the initial visible state of a navigation pane after loading a new PDF document.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v24.2.dll
NuGet Package: DevExpress.Win.PdfViewer
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Pdf |
Default | A Pdf |
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 Navigation |
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).