Skip to main content

PdfOutlinesViewerSettings.OutlinesViewerInitialState Property

Gets or sets the outlines viewer visible state after loading a new PDF document.

Namespace: DevExpress.Xpf.PdfViewer

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


public PdfOutlinesViewerState? OutlinesViewerInitialState { get; set; }

Property Value

Type Description

One of the PdfOutlinesViewerState values. The default value is Null.

Available values:

Name Description

The PDF outlines panel is collapsed.


The PDF outlines panel is visible.


The PDF outlines panel is expanded.

Property Paths

You can access this nested property as listed below:

Object Type Path to OutlinesViewerInitialState


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