Skip to main content

PdfAttachmentsViewerSettings.AttachmentsViewerInitialState Property

Gets or sets the attachments viewer visible state after loading a PDF document that contains an attached file.

Namespace: DevExpress.Xpf.PdfViewer

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

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public PdfAttachmentsViewerState? AttachmentsViewerInitialState { get; set; }

Property Value

Type Description
Nullable<PdfAttachmentsViewerState>

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

Available values:

Name Description
Collapsed

The attachments viewer is collapsed.

Visible

The attachments viewer is visible.

Expanded

The attachments viewer is expanded.

Property Paths

You can access this nested property as listed below:

Object Type Path to AttachmentsViewerInitialState
PdfViewerControl
.ActualAttachmentsViewerSettings .AttachmentsViewerInitialState
PdfViewerControl
.AttachmentsViewerSettings .AttachmentsViewerInitialState

Remarks

Use the AttachmentsViewerInitialState property to specify the initial visible state of an attachments viewer after loading a PDF document with an attached file.

If the AttachmentsViewerInitialState property is set to Null (the default value), the PdfAttachmentsViewerSettings.AttachmentsViewerState property’s value is Collapsed.

See Also