Back to Devexpress

PdfOutlinesViewerSettings.HideOutlinesViewer Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfoutlinesviewersettings.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public bool HideOutlinesViewer { get; set; }
vb
Public Property HideOutlinesViewer As Boolean

Property Value

TypeDescription
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 TypePath 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:

xaml
<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

PdfOutlinesViewerSettings Class

PdfOutlinesViewerSettings Members

DevExpress.Xpf.PdfViewer Namespace