Skip to main content
A newer version of this page is available. .

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

public bool HideOutlinesViewer { get; set; }

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
.OutlinesViewerSettings .HideOutlinesViewer

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