PdfOutlinesViewerSettings.HideOutlinesViewer Property
Gets or sets a value which specifies whether the PDF outlines panel is hidden.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v21.2.dll
NuGet Package: DevExpress.Wpf.PdfViewer
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to hide the outlines pane; false to show the outlines pane. |
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