Back to Devexpress

PdfOutlinesViewerSettings.OutlinesViewerInitialState Property

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

latest2.4 KB
Original Source

PdfOutlinesViewerSettings.OutlinesViewerInitialState Property

Gets or sets the Bookmarks panel visible state after loading a new PDF document.

Namespace : DevExpress.Xpf.PdfViewer

Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public PdfOutlinesViewerState? OutlinesViewerInitialState { get; set; }
vb
Public Property OutlinesViewerInitialState As PdfOutlinesViewerState?

Property Value

TypeDefaultDescription
Nullable<PdfOutlinesViewerState>Null

An enumeration value that indicates the panel initial state.

|

Available values:

NameDescription
Collapsed

The PDF outlines panel is collapsed.

| | Visible |

The PDF outlines panel is visible.

| | Expanded |

The PDF outlines panel is expanded.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to OutlinesViewerInitialState
PdfViewerControl

.OutlinesViewerSettings .OutlinesViewerInitialState

|

Remarks

Use the OutlinesViewerInitialState property to specify the initial visible state of an outlines viewer after loading a new PDF document.

If the OutlinesViewerInitialState property is set to Null (the default value), the PdfOutlinesViewerSettings.OutlinesViewerState property will return either Visible (if a PDF document contains bookmarks) or Collapsed (if a PDF document does not have them).

See Also

PdfOutlinesViewerSettings Class

PdfOutlinesViewerSettings Members

DevExpress.Xpf.PdfViewer Namespace