PdfOutlinesViewerSettings.HideOutlinesViewer Property
Gets or sets whether to hide the Bookmarks panel. This is a dependency property.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v23.2.dll
NuGet Package: DevExpress.Wpf.PdfViewer
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to hide the outlines panel; false to show the outlines panel. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to HideOutlinesViewer |
---|---|
PdfViewerControl |
|
Remarks
Use the HideOutlinesViewer property to control the visibility behavior of the PDF outlines pane.
Note
If a PDF document does not have bookmarks, the outlines viewer is hidden (the HideOutlinesViewer property is set to true).
Example
The code sample below shows how to specify these options in code:
<dxpdf:PdfViewerControl x:Name="pdfViewer" NavigationPanelsLayout="DockPanel">
<dxpdf:PdfViewerControl.OutlinesViewerSettings>
<dxpdf:PdfOutlinesViewerSettings ApplyOutlinesForeground="True"
HideAfterUse="True"
WrapLongLines="True"/>
</dxpdf:PdfViewerControl.OutlinesViewerSettings>
</dxpdf:PdfViewerControl>
See Also