Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

#Declaration

public bool HideOutlinesViewer { get; set; }

#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
.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